From ab1b31e9091a173bf22712df9133328d0408ecee Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Mon, 15 Apr 2019 11:45:46 +0100 Subject: Remove TOC, link headers, fix breadcrumb padding Also removes some templates we don't care about --- .../templates/wiki/includes/article_menu.html | 125 +++++++++++---------- .../templates/wiki/includes/breadcrumbs.html | 4 +- 2 files changed, 65 insertions(+), 64 deletions(-) (limited to 'pydis_site/templates/wiki/includes') diff --git a/pydis_site/templates/wiki/includes/article_menu.html b/pydis_site/templates/wiki/includes/article_menu.html index 56762420..c6cb6bf0 100644 --- a/pydis_site/templates/wiki/includes/article_menu.html +++ b/pydis_site/templates/wiki/includes/article_menu.html @@ -1,83 +1,84 @@ {% load i18n wiki_tags %} -{% with selected_tab as selected %} - - -{% endwith %} + + {% endwith %} +{% endif %} diff --git a/pydis_site/templates/wiki/includes/breadcrumbs.html b/pydis_site/templates/wiki/includes/breadcrumbs.html index 708edb19..a2359f39 100644 --- a/pydis_site/templates/wiki/includes/breadcrumbs.html +++ b/pydis_site/templates/wiki/includes/breadcrumbs.html @@ -1,5 +1,5 @@ -{% if urlpath and article %} -
+{% if urlpath and article and not user.is_anonymous %} +