diff options
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 %} |