From 05e2c31bec6c072589ba2257870d45a789dfdc34 Mon Sep 17 00:00:00 2001 From: ayaka Date: Mon, 13 Jan 2025 15:10:35 +1300 Subject: [PATCH] #18 i seem to have left my brain somewhere --- templates/settings.html | 2 +- templates/subreddit.html | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/settings.html b/templates/settings.html index 5987e23..d5391fa 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -66,7 +66,7 @@
- +
diff --git a/templates/subreddit.html b/templates/subreddit.html index c4f484b..21ea673 100644 --- a/templates/subreddit.html +++ b/templates/subreddit.html @@ -100,11 +100,13 @@ Wiki {% endif %} - {% block head %} + {% if prefs.hide_banner != "on" %} + {% block head %} {% call super() %} - {% endblock %} -
+ {% endblock %} + {% endif %} +
Icon for r/{{ sub.name }}