aboutsummaryrefslogtreecommitdiffstats
path: root/templates/wiki/base.html
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-05-02 13:28:51 +0100
committerGravatar Gareth Coles <[email protected]>2018-05-02 13:28:51 +0100
commit3bdffd9cfb61c8a8e75c472765fbb738a67c6ca0 (patch)
treef92ee5acfb48461c9a66da46460f51ff8d62828a /templates/wiki/base.html
parentFixed those pesky rapper names. (#66) (diff)
Add special pages and an "all pages" special page
Diffstat (limited to 'templates/wiki/base.html')
-rw-r--r--templates/wiki/base.html18
1 files changed, 8 insertions, 10 deletions
diff --git a/templates/wiki/base.html b/templates/wiki/base.html
index c6f8deca..28431324 100644
--- a/templates/wiki/base.html
+++ b/templates/wiki/base.html
@@ -69,14 +69,7 @@
<li><a href="{{ url_for("wiki.page", page="minecraft") }}">
<i class="uk-icon fas fa-fw fa-cube"></i> &nbsp;Minecraft
</a></li>
-{# <li class="uk-active"><a href="#">active</a></li>#}
-{# <li class="uk-parent">#}
-{# <a href="#">Contributing</a>#}
-{# <ul class="uk-nav-sub">#}
-{# <li><a href="#">Sub item</a></li>#}
-{# <li><a href="#">Sub item</a></li>#}
-{# </ul>#}
-{# </li>#}
+
<li class="uk-nav-divider"></li>
{% if (can_edit or debug) and current_page != "edit" %}
@@ -115,7 +108,6 @@
</li>
{% endif %}
-
{% if current_page != "source" %}
<li>
<a href="{{ url_for("wiki.source", page=page) }}">
@@ -129,8 +121,14 @@
</a>
</li>
{% endif %}
+
<li class="uk-nav-divider"></li>
- <li><a href="{{ url_for("wiki.page", page="help") }}"><i class="fas fa-fw fa-question-circle"></i> &nbsp;Help</a></li>
+ <li><a href="{{ url_for("wiki.special") }}">
+ <i class="uk-icon fas fa-fw fa-ellipsis-h"></i> &nbsp;Special Pages
+ </a></li>
+ <li><a href="{{ url_for("wiki.page", page="help") }}">
+ <i class="fas fa-fw fa-question-circle"></i> &nbsp;Help
+ </a></li>
</ul>
</div>
<div class="uk-section" style="flex-grow: 1; margin: 0 1rem 1rem;">