diff --git a/files/routes/front.py b/files/routes/front.py index 4de5611482..ccab8637c6 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -157,6 +157,7 @@ def notifications(v): @app.get("/") +@app.get("/catalog") @app.get("/h/") @app.get("/s/") @limiter.limit("3/second;30/minute;1000/hour;5000/day") diff --git a/files/templates/default.html b/files/templates/default.html index b242457a79..ba92bd9de3 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -36,6 +36,10 @@ {% endif %} + {% if request.path == '/catalog' %} + + {% endif %} + {% if sub and sub.css and not request.path.endswith('settings') %} {% endif %} diff --git a/files/templates/header.html b/files/templates/header.html index cf736cab12..1633442dfc 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -172,7 +172,7 @@ Bugs/Suggestions {% endif %} - {% if request.host != 'pcmemes.net' %} + {% if request.host not in ('pcmemes.net','watchpeopledie.co') %} Discord {% endif %} {% if SITE_NAME != 'Cringetopia' %} @@ -228,7 +228,7 @@ Source code - {% if request.host != 'pcmemes.net' %} + {% if request.host not in ('pcmemes.net','watchpeopledie.co') %} Discord {% endif %} {% if SITE_NAME != 'Cringetopia' %} diff --git a/files/templates/settings_profile.html b/files/templates/settings_profile.html index 2397cc8643..680907db36 100644 --- a/files/templates/settings_profile.html +++ b/files/templates/settings_profile.html @@ -310,7 +310,7 @@ - {% if request.host != 'pcmemes.net' %} + {% if request.host not in ('pcmemes.net','watchpeopledie.co') %}

Linked Accounts

Manage your connections to other services.