diff options
author | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2024-02-04 12:02:30 +0200 |
---|---|---|
committer | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2024-02-04 12:02:30 +0200 |
commit | 92b61b4473c05a454bb2263a180b73f0ba89d014 (patch) | |
tree | 11bcd36cdfff22d3a659d1216008e31eff10cad9 /templates/tags | |
parent | d8f2a41eef99ee1d041b785d371dab3e8a70af88 (diff) |
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
Diffstat (limited to 'templates/tags')
-rw-r--r-- | templates/tags/list.html | 16 | ||||
-rw-r--r-- | templates/tags/single.html | 16 |
2 files changed, 22 insertions, 10 deletions
diff --git a/templates/tags/list.html b/templates/tags/list.html index 8f9a35f..807181f 100644 --- a/templates/tags/list.html +++ b/templates/tags/list.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 %} <header id="site-header" class="animated slideInUp faster"> <div class="hdr-wrapper section-inner"> <div class="hdr-left"> @@ -35,8 +38,11 @@ {% endfor %} </ul> </div> -{% endblock header %} {% block title %} {% endblock title %} {% block main %} +{% endblock header %} + +{% block title %} {% endblock title %} +{% block main %} <main class="site-main section-inner thin animated fadeIn faster" style="text-align: center;"> {% block content %} {% for tag in terms %} @@ -49,6 +55,6 @@ {% endfor %} {% endblock content %} </main> +{% endblock main %} -{% endblock main %} {% block footer %} {{ macros::footer() }} {% endblock footer -%} +{% block footer %} {{ macros::footer() }} {% endblock footer %} diff --git a/templates/tags/single.html b/templates/tags/single.html index e04b872..b9b66e7 100644 --- a/templates/tags/single.html +++ b/templates/tags/single.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 %} <header id="site-header" class="animated slideInUp faster"> <div class="hdr-wrapper section-inner"> <div class="hdr-left"> @@ -44,8 +47,11 @@ {% endfor %} </ul> </div> -{% endblock header %} {% block title %} {% endblock title %} {% block main %} +{% endblock header %} + +{% block title %} {% endblock title %} +{% block main %} <main class="site-main section-inner thin animated fadeIn faster"> <h1>{{ term.name }}</h1> {% for year, pages in term.pages | group_by(attribute="year") %} @@ -66,6 +72,6 @@ </div> {% endfor %} </main> +{% endblock main %} -{% endblock main %} {% block footer %} {{ macros::footer() }} {% endblock footer -%} +{% block footer %} {{ macros::footer() }} {% endblock footer %} |