forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-07-29 06:47:39 +02:00
parent 517e4c1dd1
commit 7f5d9f9029
3 changed files with 4 additions and 2 deletions

View File

@ -76,7 +76,7 @@ def submit_get(v):
@app.get("/post/<pid>/<anything>") @app.get("/post/<pid>/<anything>")
@app.get("/api/v1/post/<pid>") @app.get("/api/v1/post/<pid>")
@auth_desired @auth_desired
@api("read") @public("read")
def post_base36id(pid, anything=None, v=None): def post_base36id(pid, anything=None, v=None):
try: pid = int(pid) try: pid = int(pid)
except Exception as e: pass except Exception as e: pass

View File

@ -995,7 +995,7 @@
</head> </head>
<body id="{% if request.path != '/comments' %}{% block pagetype %}frontpage{% endblock %}{% endif %}" style="overflow-x: hidden;"> <body id="{% if request.path != '/comments' %}{% block pagetype %}frontpage{% endblock %}{% endif %}" style="overflow-x: hidden;">
<a href="https://secure.transequality.org/site/Donation2?df_id=1480"><img src="/assets/images/trans.png" width="100%"></a> <a href="https://secure.transequality.org/site/Donation2?df_id=1480"><img src="/assets/images/banner.png" width="100%"></a>
{% include "header.html" %} {% include "header.html" %}

View File

@ -4,6 +4,7 @@
{% block stylesheets %} {% block stylesheets %}
{% if v %} {% if v %}
<link rel="stylesheet" href="/assets/style/{{v.theme}}_{{v.themecolor}}.css"> <link rel="stylesheet" href="/assets/style/{{v.theme}}_{{v.themecolor}}.css">
{% if v.agendaposter %}<link rel="stylesheet" href="/assets/style/agendaposter.css">{% elif v.css %}<link rel="stylesheet" href="/@{{v.username}}/css">{% endif %}
{% else %} {% else %}
<link rel="stylesheet" href="/assets/style/dark_ff66ac.css"> <link rel="stylesheet" href="/assets/style/dark_ff66ac.css">
{% endif %} {% endif %}
@ -13,6 +14,7 @@
{% endblock %} {% endblock %}
{% endif %} {% endif %}
{% block pagetype %}userpage{% endblock %} {% block pagetype %}userpage{% endblock %}
{% block title %} {% block title %}