forked from MarseyWorld/MarseyWorld
add /h/disaster and /h/fights to sidebar
parent
983e0aa070
commit
9e26c4219b
|
@ -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)
|
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()
|
@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):
|
def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words='', gt=0, lt=0, sub=None, pins=True):
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="sidebar-wpd--flairs sidebar-wpd--flairs--3">
|
<div class="sidebar-wpd--flairs sidebar-wpd--flairs--3">
|
||||||
|
<a href="/h/disaster">Disaster</a>
|
||||||
<a href="/h/accident">Accident</a>
|
<a href="/h/accident">Accident</a>
|
||||||
<a href="/h/suicide">Suicide</a>
|
<a href="/h/suicide">Suicide</a>
|
||||||
<a href="/h/animal">Animal</a>
|
<a href="/h/animal">Animal</a>
|
||||||
|
@ -63,7 +64,8 @@
|
||||||
<a href="/h/request" class="font-italic">Request</a>
|
<a href="/h/request" class="font-italic">Request</a>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<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/gore">Gore</a>
|
||||||
<a href="/h/aftermath">Aftermath</a>
|
<a href="/h/aftermath">Aftermath</a>
|
||||||
<a href="/h/selfharm">Self-Harm</a>
|
<a href="/h/selfharm">Self-Harm</a>
|
||||||
|
|
Loading…
Reference in New Issue