diff --git a/.gitignore b/.gitignore index 46b4e3be0..505f234d0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,8 @@ chart.png video.mp4 video.webm cache/ -images/ -songs/ +/images/ +/songs/ __pycache__/ disablesignups *rules.html diff --git a/files/routes/posts.py b/files/routes/posts.py index b3ff39d04..cafa7ae3e 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -187,7 +187,7 @@ def post_id(pid, anything=None, v=None): offset = 0 - if post.comment_count > 60: + if not request.headers.get("Authorization") and post.comment_count > 60: comments2 = [] count = 0 if post.created_utc > 1638672040: diff --git a/files/templates/authforms.html b/files/templates/authforms.html index 804ebf0ee..197641037 100644 --- a/files/templates/authforms.html +++ b/files/templates/authforms.html @@ -14,11 +14,11 @@ {% if v %} - + {% if v.agendaposter %}{% elif v.css %}{% endif %} {% else %} - + {% endif %} diff --git a/files/templates/log.html b/files/templates/log.html index 63ebda978..35d81cee6 100644 --- a/files/templates/log.html +++ b/files/templates/log.html @@ -6,11 +6,11 @@ {% block content %} {% if v %} - + {% if v.agendaposter %}{% elif v.css %}{% endif %} {% else %} - + {% endif %}