add /h/disaster and /h/fights to sidebar

master
Aevann 2023-06-13 22:58:05 +03:00
parent 983e0aa070
commit 9e26c4219b
2 changed files with 4 additions and 2 deletions

View File

@ -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):

View File

@ -37,6 +37,7 @@
{% endif %}
<div class="sidebar-wpd--flairs sidebar-wpd--flairs--3">
<a href="/h/disaster">Disaster</a>
<a href="/h/accident">Accident</a>
<a href="/h/suicide">Suicide</a>
<a href="/h/animal">Animal</a>
@ -63,7 +64,8 @@
<a href="/h/request" class="font-italic">Request</a>
</div>
<hr>
<div class="sidebar-wpd--flairs sidebar-wpd--flairs--3">
<div class="sidebar-wpd--flairs sidebar-wpd--flairs--2">
<a href="/h/fights">fights</a>
<a href="/h/gore">Gore</a>
<a href="/h/aftermath">Aftermath</a>
<a href="/h/selfharm">Self-Harm</a>