aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/wiki/base.html
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-04-10 23:17:08 +0100
committerGravatar Gareth Coles <[email protected]>2019-04-10 23:17:08 +0100
commita880a3441100b387e1171c79cbeff36d3aa8d445 (patch)
tree7718666427599435219cbbf0aa49ab881c7ab9fb /pydis_site/templates/wiki/base.html
parentMerge branch 'django' into django+200/wiki (diff)
Some initial work on updating the wiki templates for Bulma
Diffstat (limited to 'pydis_site/templates/wiki/base.html')
-rw-r--r--pydis_site/templates/wiki/base.html31
1 files changed, 29 insertions, 2 deletions
diff --git a/pydis_site/templates/wiki/base.html b/pydis_site/templates/wiki/base.html
index 5260bfcd..95b0186d 100644
--- a/pydis_site/templates/wiki/base.html
+++ b/pydis_site/templates/wiki/base.html
@@ -1,3 +1,30 @@
-{% extends "wiki/base_site.html" %}
+{% extends "base/base.html" %}
+{% load sekizai_tags i18n wiki_tags static %}
-{# Intentionally empty, to allow easy customization with no copy-paste #}
+{% block title %}
+ Wiki | {% block wiki_pagetitle %}{% endblock %}{% block wiki_site_title %}{% endblock %}
+{% endblock %}
+
+{% block content %}
+ {% include "base/navbar.html" with active_item=True dropdowns=True icon_weight="far" use_logo=True %}
+
+ {% block wiki_body %}
+ {% block wiki_navbar %}
+
+ {% endblock %}
+
+ <section class="section">
+ <div class="container">
+ {% wiki_messages %}
+
+ {% block wiki_breadcrumbs %}{% endblock %}
+
+ <div class="content">
+ {% block wiki_contents %}{% endblock %}
+ </div>
+ </div>
+ </section>
+ {% endblock %}
+
+ {% include "base/footer.html" %}
+{% endblock %}