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/section.html | |
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/section.html')
-rw-r--r-- | templates/section.html | 16 |
1 files changed, 11 insertions, 5 deletions
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 %} <header id="site-header" class="animated slideInUp faster"> <div class="hdr-wrapper section-inner"> <div class="hdr-left"> @@ -48,8 +51,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>{{ section.title }}</h1> {% for year, pages in section.pages | group_by(attribute="year") %} @@ -68,6 +74,6 @@ </div> {% endfor %} </main> +{% endblock main %} -{% endblock main %} {% block footer %} {{ macros::footer() }} {% endblock footer -%} +{% block footer %} {{ macros::footer() }} {% endblock footer %} |