diff options
| author | 2018-05-01 11:36:13 +0100 | |
|---|---|---|
| committer | 2018-05-01 11:36:13 +0100 | |
| commit | d5be0951fb8f332ad9dc27caf25e64ac255eedc8 (patch) | |
| tree | 5b6b1c87dfc64da7783b04c68ac184dc158934a0 /templates/wiki/base.html | |
| parent | [Wiki] Fix image spacing (diff) | |
| parent | restructure docker (diff) | |
Merge remote-tracking branch 'origin/master'
# Conflicts:
# static/style.css
Diffstat (limited to 'templates/wiki/base.html')
| -rw-r--r-- | templates/wiki/base.html | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/templates/wiki/base.html b/templates/wiki/base.html index 87686a83..c6f8deca 100644 --- a/templates/wiki/base.html +++ b/templates/wiki/base.html @@ -32,22 +32,26 @@ {% include "main/navigation.html" %} <div class="uk-flex uk-flex-row uk-flex-1"> <div class="uk-card uk-card-body uk-flex-left uk-flex uk-card-primary"> - <ul class="uk-nav-default uk-nav-parent-icon" uk-nav> + <ul class="uk-nav-default uk-nav-parent-icon" uk-nav id="wiki-nav"> {% if data is defined %} {% if "headers" in data and data.headers %} <li class="uk-nav-header">Contents</li> {% for header in data.headers %} {% if "sub_headers" in header %} <li class="uk-parent"> - <a href="{{ header.id }}">{{ header.title }}</a> + <a href="{{ header.id }}"> + {{ header.title | safe }} + </a> <ul class="uk-nav-sub"> {% for sub in header.sub_headers %} - <li><a href="{{ sub.id }}"><i class="uk-icon fas fa-diamond fa-fw" style="font-size: 0.5rem; vertical-align: 1px"></i> {{ sub.title }}</a></li> + <li><a href="{{ sub.id }}"> + {{ sub.title | safe }} + </a></li> {% endfor %} </ul> </li> {% else %} - <li><a href="{{ header.id }}">{{ header.title }}</a></li> + <li><a href="{{ header.id }}">{{ header.title | safe }}</a></li> {% endif %} {% endfor %} <li class="uk-nav-divider"></li> @@ -62,6 +66,9 @@ <li><a href="{{ url_for("wiki.page", page="contributing") }}"> <i class="uk-icon fas fa-fw fa-code-branch"></i> Contributing </a></li> + <li><a href="{{ url_for("wiki.page", page="minecraft") }}"> + <i class="uk-icon fas fa-fw fa-cube"></i> Minecraft + </a></li> {# <li class="uk-active"><a href="#">active</a></li>#} {# <li class="uk-parent">#} {# <a href="#">Contributing</a>#} |