diff options
Diffstat (limited to 'templates/wiki/base.html')
-rw-r--r-- | templates/wiki/base.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/wiki/base.html b/templates/wiki/base.html index 9464782b..fa74f078 100644 --- a/templates/wiki/base.html +++ b/templates/wiki/base.html @@ -39,13 +39,14 @@ <i class="fas fa-fw fa-pencil-alt"></i> Edit </a> </li> - {% else %} + {% elif current_page == "edit" %} <li> <a href="{{ url_for("wiki.page", page=page) }}"> <i class="fas fa-fw fa-arrow-left"></i> Back </a> </li> {% endif %} + {% if current_page != "source" %} <li> <a href="{{ url_for("wiki.source", page=page) }}"> |