From 92b61b4473c05a454bb2263a180b73f0ba89d014 Mon Sep 17 00:00:00 2001
From: xAlpharax <42233094+xAlpharax@users.noreply.github.com>
Date: Sun, 4 Feb 2024 12:02:30 +0200
Subject: Changes within the templates and bunch of other things
Changes to be committed:
new file: clipboard.min.js
modified: content/posts/typography.md
new file: katex.min.css
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/404.html | 9 +++------
templates/index.html | 49 +++++++++++++++++++++++++++++++++++-----------
templates/macros.html | 4 ----
templates/page.html | 9 ++-------
templates/section.html | 16 ++++++++++-----
templates/tags/list.html | 16 ++++++++++-----
templates/tags/single.html | 16 ++++++++++-----
7 files changed, 76 insertions(+), 43 deletions(-)
(limited to 'templates')
diff --git a/templates/404.html b/templates/404.html
index fc70c01..b044965 100644
--- a/templates/404.html
+++ b/templates/404.html
@@ -1,10 +1,8 @@
{% extends "index.html" %}
-{% block header %}
-{% endblock header %}
+{% block header %} {% endblock header %}
-{% block title %}
-{% endblock title %}
+{% block title %} {% endblock title %}
{% block main %}
@@ -22,5 +20,4 @@
{% endblock main %}
-{% block footer %}
-{% endblock footer %}
+{% block footer %} {% endblock footer %}
diff --git a/templates/index.html b/templates/index.html
index 01d448e..39f2405 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,4 +1,5 @@
{% import "macros.html" as macros %}
+
@@ -7,19 +8,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
{% if page.title %}
{{page.title}}
{% else %}
diff --git a/templates/macros.html b/templates/macros.html
index ab2f0cc..302bf43 100644
--- a/templates/macros.html
+++ b/templates/macros.html
@@ -9,7 +9,6 @@
{% endmacro read_time %}
{% macro footer() %}
-
-
{% endmacro footer %}
-
-
{% macro render_social_icons() %}
{% for icon in config.extra.hermit_social %}
{% endblock header %}
-{% block title %}
-{% endblock title %}
+{% block title %} {% endblock title %}
{% block main %}
@@ -169,8 +168,4 @@
{% endblock main %}
-{% block footer %}
-
-{{ macros::footer() }}
-
-{% endblock footer %}
+{% block footer %} {{ macros::footer() }} {% endblock footer %}
diff --git a/templates/section.html b/templates/section.html
index 446c57c..4759971 100644
--- a/templates/section.html
+++ b/templates/section.html
@@ -1,5 +1,8 @@
-{% extends "index.html" %} {% import "macros.html" as macros %} {% block header
-%}
+{% extends "index.html" %}
+
+{% import "macros.html" as macros %}
+
+{% block header %}