From 8ee207dc1034eeeb8f48c0c9ca58c6f29df95ae7 Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Sat, 2 Mar 2024 12:00:00 +0200 Subject: Massive changes regarding the core templates, static and config backbone Soon will be abstracted into a Hermit V3 theme that focuses on: - speed - efficiency - modularity - SEO: - good WCAG & - pagespeed metrics - suckless Changes to be committed: modified: config.toml modified: content/posts/code_test.md modified: content/posts/How I made this Blog with Zola.md deleted: sass/_icons.scss modified: sass/_predefined.scss modified: sass/style.scss modified: static/js/main.js modified: templates/404.html modified: templates/index.html modified: templates/macros.html modified: templates/page.html modified: templates/section.html modified: templates/tags/list.html modified: templates/tags/single.html --- templates/index.html | 95 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 55 insertions(+), 40 deletions(-) (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html index 90a3f51..58eeb83 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,7 +1,9 @@ {% import "macros.html" as macros %} + + @@ -71,44 +73,54 @@ - {% block header %} - {% endblock header %} - - {% block title %} -
-
-

{{config.title}}

-

{{config.extra.home_subtitle}}

-
- {{macros::render_social_icons()}} -
- {% endblock title %} - {% block main %} - - {% endblock main %} -
- - {% block footer %} - - {% endblock footer %} -
- - - - + {% block header %} + {% endblock header %} + + {% block title %} +
+
+

{{config.title}}

+

{{config.extra.home_subtitle}}

+
+ {{macros::render_social_icons()}} +
+ {% endblock title %} + + {% block main %} + + {% endblock main %} +
+ + {% block footer %} + + {% endblock footer %} +
+ + + + @@ -116,17 +128,20 @@ + onload="renderMathInElement(document.body, { delimiters: [ {left: '$$', right: '$$', display: true}, {left: '$', right: '$', display: false}, {left: '\\[', right: '\\]', display: true}, {left: '\\(', right: '\\)', display: false}]});"> - {% if config.extra.google_analytics.enable %} + {% if config.extra.google_analytics.enable %} {% endif %} + + -- cgit v1.2.3