diff options
Diffstat (limited to 'crumbs/templates/base.html')
-rwxr-xr-x | crumbs/templates/base.html | 35 |
1 files changed, 5 insertions, 30 deletions
diff --git a/crumbs/templates/base.html b/crumbs/templates/base.html index dfe7139..e28af28 100755 --- a/crumbs/templates/base.html +++ b/crumbs/templates/base.html @@ -1,38 +1,13 @@ <!DOCTYPE html> <html lang="{{ DEFAULT_LANG }}"> - {% with type='base' %} - {% include "components/html_head.html" %} - {% endwith %} - <body class="not-home"> - <div class="container"> - - <!-- HEADER FOR EVERY PAGE --> - <div class="navigation"> - - {% with title_type='page-title' %} - {% include "components/title_text.html" %} - {% endwith %} - - <!-- Loop through all pages --> - {% for title, link in MENUITEMS %} - <!-- Do magic with http/https --> - {% if 'http://' in link or 'https://' in link %} - <a class="nav-item" href="{{ link }}">{{ title }} </a> - {% else %} - <a class="nav-item" href="{{ SITEURL }}{{ link }}">{{ title }} </a> - {% endif %} - {% endfor %} - </div> - - {% include "components/super_gay.html" %} + {% block head %} + {% endblock head %} - <!-- END HEADER FOR EVERY PAGE --> - - {% block content %} + <body> + <div class="container"> + {% block wrapped %} {% endblock %} - </div> - </body> </html> |