diff options
author | Valentin Popov <valentin@popov.link> | 2024-02-14 20:23:17 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-02-14 20:23:17 +0300 |
commit | b8edb5d4cd4c24e7b1e1c4a53d9470a754f28ab7 (patch) | |
tree | c3b886646df2b0f0b672d0c034eec3a942456a9e /_pages/blog.html | |
parent | 89f0b3c0577505a2090151dec68cd3bbca09e74f (diff) | |
download | popov.link-b8edb5d4cd4c24e7b1e1c4a53d9470a754f28ab7.tar.xz popov.link-b8edb5d4cd4c24e7b1e1c4a53d9470a754f28ab7.zip |
Correction of validator's comments
Diffstat (limited to '_pages/blog.html')
-rw-r--r-- | _pages/blog.html | 24 |
1 files changed, 10 insertions, 14 deletions
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>—</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>—</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 |