From 9e26c4219b2507022312895b76179dac65a194eb Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 13 Jun 2023 22:58:05 +0300 Subject: [PATCH] add /h/disaster and /h/fights to sidebar --- files/routes/front.py | 2 +- files/templates/sidebar_WPD.html | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/files/routes/front.py b/files/routes/front.py index be1175993c..173c502d96 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -68,7 +68,7 @@ def front_all(v, sub=None, subdomain=None): return render_template("home.html", v=v, listing=posts, total=total, sort=sort, t=t, page=page, sub=sub, home=True, pins=pins, size=size) -LIMITED_WPD_HOLES = ('gore', 'aftermath', 'selfharm', 'meta', 'discussion', 'social', 'music', 'request') +LIMITED_WPD_HOLES = ('gore', 'aftermath', 'selfharm', 'meta', 'discussion', 'social', 'music', 'request', 'fights') @cache.memoize() def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words='', gt=0, lt=0, sub=None, pins=True): diff --git a/files/templates/sidebar_WPD.html b/files/templates/sidebar_WPD.html index 49482e12cf..0d495ca845 100644 --- a/files/templates/sidebar_WPD.html +++ b/files/templates/sidebar_WPD.html @@ -37,6 +37,7 @@ {% endif %}
-