commit 074b20eb9bd1251fc5abd1fa380227e40ee18d0b parent c2a07cfd327f5937ca8a020cd5a732dd0b44b340 Author: FIGBERT <figbert@figbert.com> Date: Sat, 23 Jan 2021 21:46:12 -0800 Remove unused template blocks from base.html Diffstat:
M | templates/base.html | | | 23 | +++++++++-------------- |
1 file changed, 9 insertions(+), 14 deletions(-)
diff --git a/templates/base.html b/templates/base.html @@ -43,24 +43,19 @@ {% endblock title %} </title> - {% block head %}{% endblock head %} - {% block styles %} - <link rel="stylesheet" href="{{ get_url(path="global.css") | safe }}"> - {% endblock styles %} + <link rel="stylesheet" href="{{ get_url(path="global.css") | safe }}"> {% block posthead %}{% endblock posthead %} <script async defer data-website-id="05bb9f50-5cd2-451b-8b15-d9088cc614d0" integrity="sha384-SFgC+hTq6Y/T7BVtH5jNjyKuiSefSCTh8BN9KApl6huoN9KYDDnCXZd2e3dcoxbL" src="https://umami.figbert.com/umami.js" crossorigin="anonymous"></script> </head> <body> - {% block header %} - <header> - <nav> - {% for link in config.extra.nav %} - <a href="{{ link.path }}">{{ link.name }}</a> - {% endfor %} - </nav> - <hr/> - </header> - {% endblock header %} + <header> + <nav> + {% for link in config.extra.nav %} + <a href="{{ link.path }}">{{ link.name }}</a> + {% endfor %} + </nav> + <hr/> + </header> <main> {% block content %}{% endblock content %} </main>