From 98c2bf4188269b6a4cc8adbdeaf7f6fe56155f34 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 14 Feb 2024 14:12:06 +0400 Subject: Fixed a lot of minor bugs --- _includes/contacts.html | 6 +++--- _includes/head.html | 10 +++++----- _includes/links.html | 6 +++--- _includes/navbar.html | 8 ++------ _includes/posts.html | 6 +++--- _includes/reading-time.html | 2 +- _layouts/post.html | 6 +++--- _pages/404.html | 2 +- _pages/blog.html | 4 ++-- _pages/robots.txt | 4 ++-- 10 files changed, 25 insertions(+), 29 deletions(-) diff --git a/_includes/contacts.html b/_includes/contacts.html index ef5c526..0eea581 100644 --- a/_includes/contacts.html +++ b/_includes/contacts.html @@ -3,9 +3,9 @@ + \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html index 7a80b10..a526f66 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -10,16 +10,16 @@ {{- page.title | default: site.title | strip | normalize_whitespace | xml_escape -}} - + - + - + \ No newline at end of file diff --git a/_includes/links.html b/_includes/links.html index 116ff91..2fb95a1 100644 --- a/_includes/links.html +++ b/_includes/links.html @@ -3,9 +3,9 @@ + \ No newline at end of file diff --git a/_includes/navbar.html b/_includes/navbar.html index f2780ad..03fa97f 100644 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -1,10 +1,6 @@ \ No newline at end of file diff --git a/_includes/posts.html b/_includes/posts.html index 48036dc..1dd5670 100644 --- a/_includes/posts.html +++ b/_includes/posts.html @@ -3,8 +3,8 @@ + \ No newline at end of file diff --git a/_includes/reading-time.html b/_includes/reading-time.html index de71601..dd1960e 100644 --- a/_includes/reading-time.html +++ b/_includes/reading-time.html @@ -3,5 +3,5 @@ {%- endcapture -%} {%- unless words contains '-' -%} -{{- words | plus: 150 | divided_by: 150 | append: ' min read' -}} +{{- words | plus: 150 | divided_by: 150 | append: ' min read' | xml_escape -}} {%- endunless -%} \ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html index aa32f3e..b988df6 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -8,10 +8,10 @@ layout: default

Posted - + by - Valentin Popov -  ‐ + Valentin Popov + ‐ {%- include reading-time.html -%}

diff --git a/_pages/404.html b/_pages/404.html index 1fcbc7c..77710d9 100644 --- a/_pages/404.html +++ b/_pages/404.html @@ -8,6 +8,6 @@ permalink: /404.html

Page not found.

-

If you see this message, please let me know.

+

If you see this message, please let me know.

\ No newline at end of file diff --git a/_pages/blog.html b/_pages/blog.html index a1c6cb5..0718d90 100644 --- a/_pages/blog.html +++ b/_pages/blog.html @@ -11,9 +11,9 @@ permalink: /blog.html diff --git a/_pages/robots.txt b/_pages/robots.txt index 28c5b92..45f1669 100644 --- a/_pages/robots.txt +++ b/_pages/robots.txt @@ -4,6 +4,6 @@ permalink: /robots.txt --- User-agent: * -Disallow: {{- "/404.html" | relative_url | uri_escape -}} +Disallow: {{- "/404.html" | relative_url | url_escape -}} Allow: / -Sitemap: {{- "sitemap.xml" | absolute_url | uri_escape -}} +Sitemap: {{- "sitemap.xml" | absolute_url | url_escape -}} -- cgit v1.2.3