From 2c1b00f3094321ba9fd3121e723823b96dfbc528 Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Sun, 25 Feb 2024 23:04:38 +0200 Subject: Massive changes - improvements in performance, accesability and SEO as well as best practices Changes to be committed: deleted: static/js/copy.js modified: static/js/main.js modified: config.toml modified: content/posts/code_test.md modified: templates/404.html modified: templates/index.html modified: templates/macros.html modified: templates/page.html modified: templates/section.html modified: templates/tags/single.html --- templates/macros.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'templates/macros.html') diff --git a/templates/macros.html b/templates/macros.html index 302bf43..e12a56e 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -1,9 +1,9 @@ {% macro read_time(words) %} - {% if words < 530 %} + {% if words < 500 %} 1 min read {% else %} - {{ words / 265 | round }} min read + {{ words / 250 | round }} min read {% endif %} {% endmacro read_time %} @@ -13,7 +13,7 @@

© {{ now() | date(format="%Y") }} {{ config.extra.author.name }}{{ config.extra.footer_copyright | safe }}

Made with Zola · Theme Hermit_Zola {% if config.generate_feed %} - · + · {% endif %}

@@ -21,8 +21,7 @@ {% macro render_social_icons() %} {% for icon in config.extra.hermit_social %} - + {% if icon.name == "codepen" %} {% elif icon.name == "facebook" %} -- cgit v1.2.3