diff --git a/drama/routes/posts.py b/drama/routes/posts.py index 075df16254..27b2aa97c7 100644 --- a/drama/routes/posts.py +++ b/drama/routes/posts.py @@ -76,7 +76,7 @@ def submit_get(v): @app.get("/post//") @app.get("/api/v1/post/") @auth_desired -@api("read") +@public("read") def post_base36id(pid, anything=None, v=None): try: pid = int(pid) except Exception as e: pass diff --git a/drama/templates/default.html b/drama/templates/default.html index 63fa39cce4..941ecb80a5 100644 --- a/drama/templates/default.html +++ b/drama/templates/default.html @@ -995,7 +995,7 @@ - + {% include "header.html" %} diff --git a/drama/templates/userpage.html b/drama/templates/userpage.html index f4bc2c5979..c35db5371c 100644 --- a/drama/templates/userpage.html +++ b/drama/templates/userpage.html @@ -4,6 +4,7 @@ {% block stylesheets %} {% if v %} + {% if v.agendaposter %}{% elif v.css %}{% endif %} {% else %} {% endif %} @@ -13,6 +14,7 @@ {% endblock %} {% endif %} + {% block pagetype %}userpage{% endblock %} {% block title %}