aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-02-14 20:23:17 +0300
committerValentin Popov <valentin@popov.link>2024-02-14 20:23:17 +0300
commitb8edb5d4cd4c24e7b1e1c4a53d9470a754f28ab7 (patch)
treec3b886646df2b0f0b672d0c034eec3a942456a9e
parent89f0b3c0577505a2090151dec68cd3bbca09e74f (diff)
downloadvalentineus.github.io-b8edb5d4cd4c24e7b1e1c4a53d9470a754f28ab7.tar.xz
valentineus.github.io-b8edb5d4cd4c24e7b1e1c4a53d9470a754f28ab7.zip
Correction of validator's comments
-rw-r--r--_includes/head.html8
-rw-r--r--_layouts/post.html12
-rw-r--r--_pages/blog.html24
3 files changed, 18 insertions, 26 deletions
diff --git a/_includes/head.html b/_includes/head.html
index a1b17f8..1094f76 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -1,9 +1,9 @@
<head>
<!-- Meta tags -->
- <meta content="IE=edge" http-equiv="X-UA-Compatible" />
- <meta content="text/html; charset=utf-8" http-equiv="content-type" />
- <meta content="width=device-width, initial-scale=1" name="viewport" />
- <meta content="index, follow" name="robots" />
+ <meta content="IE=edge" http-equiv="X-UA-Compatible">
+ <meta content="text/html; charset=utf-8" http-equiv="content-type">
+ <meta content="width=device-width, initial-scale=1" name="viewport">
+ <meta content="index, follow" name="robots">
<!-- Title / Description -->
<meta content="{{- page.description | default: site.description | strip | normalize_whitespace | xml_escape -}}" name="description" />
diff --git a/_layouts/post.html b/_layouts/post.html
index a01cc74..5c49cba 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -2,7 +2,7 @@
layout: default
---
-<section style="text-align: center;">
+<div style="text-align: center;">
<h1>{{- page.title | default: site.title | strip | normalize_whitespace | xml_escape -}}</h1>
<p>
@@ -14,12 +14,8 @@ layout: default
<strong>{%- include reading-time.html -%}</strong>
</small>
</p>
-</section>
+</div>
-<section>
- {{- content -}}
-</section>
+{{- content -}}
-<section>
- {%- include comments.html -%}
-</section> \ No newline at end of file
+{%- include comments.html -%} \ No newline at end of file
diff --git a/_pages/blog.html b/_pages/blog.html
index 2500a66..7d1cefd 100644
--- a/_pages/blog.html
+++ b/_pages/blog.html
@@ -3,18 +3,14 @@ layout: page
permalink: /blog/index.html
---
-<section>
- <h1>Latest posts</h1>
-</section>
+<h1>Latest posts</h1>
-<section>
- <ul>
- {%- for post in site.posts -%}
- <li>
- <time datetime="{{- post.date | date_to_xmlschema | xml_escape -}}">{{- post.date | date: '%Y/%m/%d' | strip | normalize_whitespace | xml_escape -}}</time>
- <span>&mdash;</span>
- <a href="{{- post.url | relative_url | url_escape -}}">{{- post.title | strip | normalize_whitespace | xml_escape -}}</a>
- </li>
- {%- endfor -%}
- </ul>
-</section> \ No newline at end of file
+<ul>
+ {%- for post in site.posts -%}
+ <li>
+ <time datetime="{{- post.date | date_to_xmlschema | xml_escape -}}">{{- post.date | date: '%Y/%m/%d' | strip | normalize_whitespace | xml_escape -}}</time>
+ <span>&mdash;</span>
+ <a href="{{- post.url | relative_url | url_escape -}}">{{- post.title | strip | normalize_whitespace | xml_escape -}}</a>
+ </li>
+ {%- endfor -%}
+</ul> \ No newline at end of file