remotes/1693045480750635534/spooky-22
Aevann1 2022-02-09 00:48:30 +02:00
parent 67ee1d54f0
commit 3fe6816d43
2 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ def front_all(v, sub=None):
g.db.commit()
if request.headers.get("Authorization"): return {"data": [x.json for x in posts], "next_exists": next_exists}
return render_template("home.html", v=v, listing=posts, next_exists=next_exists, sort=sort, t=t, page=page, ccmode=ccmode, sub=sub)
return render_template("home.html", v=v, listing=posts, next_exists=next_exists, sort=sort, t=t, page=page, ccmode=ccmode, sub=sub, home=True)

View File

@ -272,7 +272,7 @@
{% endblock %}
</div>
{% if request.path in ('/', '/logged_out', '/logged_out/') or sub %}
{% if home %}
{% block sidebar %}
{% include "sidebar_" + SITE_NAME + ".html" %}
{% endblock %}