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