diff --git a/files/routes/front.py b/files/routes/front.py index 4e8d8d7d9..dfa42ea49 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -261,7 +261,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, subs=subs, home=True) + return render_template("home.html", v=v, listing=posts, next_exists=next_exists, sort=sort, t=t, page=page, ccmode=ccmode, sub=sub, subs=subs, subsonly=subsonly, home=True) diff --git a/files/templates/home.html b/files/templates/home.html index 3684b0546..0b1eb9686 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -38,8 +38,8 @@ {% block navbar %}
{% if request.path == '/' and v.paid_dues %} - {% if ccmode=="true"%}CC{% endif %} - {% if ccmode=="false" %}CC{% endif %} + {% if ccmode=="true"%}CC{% endif %} + {% if ccmode=="false" %}CC{% endif %} {% endif %} {% if request.path in ('/','/logged_out') and SITE_NAME == 'Drama' %} @@ -63,12 +63,12 @@ {{t | capitalize}}
@@ -84,13 +84,13 @@ {{sort | capitalize}} @@ -157,14 +157,14 @@