Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 832b6bc

Browse files
committed
Added html check with html proofer 🚀
1 parent 7b3d489 commit 832b6bc

File tree

8 files changed

+13
-7
lines changed

8 files changed

+13
-7
lines changed

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ markdown: kramdown
3838
highlighter: rouge
3939
kramdown:
4040
input: GFM
41+
auto_ids: false
4142
plugins:
4243
- jekyll-seo-tag
4344
- jekyll-sitemap

_css/main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ footer {
510510
}
511511

512512
@include media-breakpoint-up(lg) {
513-
#phone-number {
513+
.phone-number {
514514
display: none;
515515
}
516516

_includes/blog-recent-posts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h3>Recent posts</h3>
88
<div class="card col-lg-4">
99
<div class='img' style='background:url("{{ post.image }}") no-repeat 50% 50%; background-size: cover'></div>
1010
<h4>{{ post.title }}</h4>
11-
<p>{{ post.excerpt | remove: '<em>' | remove: '</em>' }}</p>
11+
{{ post.excerpt | remove: '<em>' | remove: '</em>' }}
1212
<a href="{{ post.url }}" class="card-button">Read More</a>
1313
</div>
1414
</a>

_includes/dependencies-css.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css" />
22
<noscript id="deferred-styles">
3-
<link rel="stylesheet" type="text/css" href="/assets/styles/style.css?rev=52d4497c3d5cab46387cd8d0754cfeed">
3+
<link rel="stylesheet" type="text/css" href="/assets/styles/style.css?rev=cfa734674d213dedd6b4fb27535d28da">
44
</noscript>
55
<script>
66
var loadDeferredStyles = function () {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"/assets/styles/style.css?rev=52d4497c3d5cab46387cd8d0754cfeed",
1+
"/assets/styles/style.css?rev=cfa734674d213dedd6b4fb27535d28da",

_includes/social-contacts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
<i class="{{ include.icon-class }} fas fa-envelope" aria-hidden="true"></i>
2121
</a>
2222
<a href="tel:{{ site.data.contacts.phone }}">
23-
<i id="phone-number" class="{{ include.icon-class }} fas fa-mobile-alt" aria-hidden="true"></i>
23+
<i class="phone-number {{ include.icon-class }} fas fa-mobile-alt" aria-hidden="true"></i>
2424
</a>

assets/styles/style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/test.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,9 @@ npm run build
77
npm run generate
88

99
# Unit test website
10-
htmlproofer --assume-extension --url_ignore "https://www.volagratis.com/,https://www.rumbo.es/" --http-status-ignore "999" ./_site
10+
htmlproofer --check-html \
11+
--check-img-http \
12+
--assume-extension \
13+
--url_ignore "https://www.volagratis.com/,https://www.rumbo.es/" \
14+
--http-status-ignore "999" \
15+
./_site

0 commit comments

Comments
 (0)