Correction of validator's comments

This commit is contained in:
Valentin Popov 2024-02-14 21:23:17 +04:00
parent 89f0b3c057
commit b8edb5d4cd
Signed by: Valentin Popov
GPG Key ID: AE3CE523DAAA8401
3 changed files with 18 additions and 26 deletions

View File

@ -1,9 +1,9 @@
<head> <head>
<!-- Meta tags --> <!-- Meta tags -->
<meta content="IE=edge" http-equiv="X-UA-Compatible" /> <meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="text/html; charset=utf-8" http-equiv="content-type" /> <meta content="text/html; charset=utf-8" http-equiv="content-type">
<meta content="width=device-width, initial-scale=1" name="viewport" /> <meta content="width=device-width, initial-scale=1" name="viewport">
<meta content="index, follow" name="robots" /> <meta content="index, follow" name="robots">
<!-- Title / Description --> <!-- Title / Description -->
<meta content="{{- page.description | default: site.description | strip | normalize_whitespace | xml_escape -}}" name="description" /> <meta content="{{- page.description | default: site.description | strip | normalize_whitespace | xml_escape -}}" name="description" />

View File

@ -2,7 +2,7 @@
layout: default layout: default
--- ---
<section style="text-align: center;"> <div style="text-align: center;">
<h1>{{- page.title | default: site.title | strip | normalize_whitespace | xml_escape -}}</h1> <h1>{{- page.title | default: site.title | strip | normalize_whitespace | xml_escape -}}</h1>
<p> <p>
@ -14,12 +14,8 @@ layout: default
<strong>{%- include reading-time.html -%}</strong> <strong>{%- include reading-time.html -%}</strong>
</small> </small>
</p> </p>
</section> </div>
<section> {{- content -}}
{{- content -}}
</section>
<section> {%- include comments.html -%}
{%- include comments.html -%}
</section>

View File

@ -3,18 +3,14 @@ layout: page
permalink: /blog/index.html permalink: /blog/index.html
--- ---
<section> <h1>Latest posts</h1>
<h1>Latest posts</h1>
</section>
<section> <ul>
<ul> {%- for post in site.posts -%}
{%- for post in site.posts -%} <li>
<li> <time datetime="{{- post.date | date_to_xmlschema | xml_escape -}}">{{- post.date | date: '%Y/%m/%d' | strip | normalize_whitespace | xml_escape -}}</time>
<time datetime="{{- post.date | date_to_xmlschema | xml_escape -}}">{{- post.date | date: '%Y/%m/%d' | strip | normalize_whitespace | xml_escape -}}</time> <span>&mdash;</span>
<span>&mdash;</span> <a href="{{- post.url | relative_url | url_escape -}}">{{- post.title | strip | normalize_whitespace | xml_escape -}}</a>
<a href="{{- post.url | relative_url | url_escape -}}">{{- post.title | strip | normalize_whitespace | xml_escape -}}</a> </li>
</li> {%- endfor -%}
{%- endfor -%} </ul>
</ul>
</section>