0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-03 16:10:26 +03:00

Correction of validator's comments

This commit is contained in:
2024-02-14 21:23:17 +04:00
parent 89f0b3c057
commit b8edb5d4cd
3 changed files with 18 additions and 26 deletions

View File

@ -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>
<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>