diff options
| author | 2019-04-20 23:49:12 +0200 | |
|---|---|---|
| committer | 2019-04-20 23:49:12 +0200 | |
| commit | 0e373cd953dd7ee8433cd936a8df050ab097bb08 (patch) | |
| tree | 54061f3d1f33247f0a57efc311167ba275c67c94 /pydis_site/templates/base | |
| parent | Merge pull request #213 from python-discord/django_front_page (diff) | |
| parent | Replace wiki dep with PyDis fork, add git to Docker (diff) | |
Merge pull request #202 from gdude2002/django+200/wiki
[#200] Django Wiki
Diffstat (limited to 'pydis_site/templates/base')
| -rw-r--r-- | pydis_site/templates/base/base.html | 8 | ||||
| -rw-r--r-- | pydis_site/templates/base/navbar.html | 1 |
2 files changed, 7 insertions, 2 deletions
diff --git a/pydis_site/templates/base/base.html b/pydis_site/templates/base/base.html index 5d5fe7ec..d7e764a2 100644 --- a/pydis_site/templates/base/base.html +++ b/pydis_site/templates/base/base.html @@ -1,5 +1,6 @@ {# Base template, with a few basic style definitions. #} {% load django_simple_bulma %} +{% load sekizai_tags %} {% load static %} <!DOCTYPE html> @@ -23,6 +24,8 @@ <link rel="stylesheet" href="{% static "css/base/base.css" %}"> {% block head %}{% endblock %} + + {% render_block "css" %} </head> <body class="site"> @@ -32,7 +35,10 @@ {% endblock %} </main> -{% include "base/footer.html" %} +{% block site_footer %} + {% include "base/footer.html" %} +{% endblock %} +{% render_block "js" %} </body> </html> diff --git a/pydis_site/templates/base/navbar.html b/pydis_site/templates/base/navbar.html index 5e76b3a6..bee503ee 100644 --- a/pydis_site/templates/base/navbar.html +++ b/pydis_site/templates/base/navbar.html @@ -1,4 +1,3 @@ -{% load extra_filters %} {% load static %} <nav class="navbar is-primary" role="navigation" aria-label="main navigation"> |