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>
<!-- 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" />

View File

@ -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>
{%- include comments.html -%}

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>