From eafae40aca8f96cfeaa216f0756e6e6a8c03ed9f Mon Sep 17 00:00:00 2001 From: justcool393 Date: Sat, 19 Nov 2022 16:20:38 -0600 Subject: [PATCH] titles: fix all titles where needful --- files/templates/admin/admin_home.html | 8 +----- files/templates/admin/app.html | 8 +----- files/templates/admin/apps.html | 8 +----- files/templates/admin/image_posts.html | 12 +-------- files/templates/admin/removed_comments.html | 9 +------ files/templates/admin/removed_posts.html | 13 +-------- files/templates/admin/reported_comments.html | 9 +------ files/templates/admin/reported_posts.html | 11 +------- files/templates/api.html | 6 +---- files/templates/casino/game_screen.html | 4 +-- files/templates/contact.html | 4 +-- files/templates/donate_WPD.html | 6 +---- files/templates/errors/error.html | 7 +---- files/templates/errors/nsfw.html | 7 +---- files/templates/errors/patron.html | 7 +---- files/templates/formatting.html | 6 +---- files/templates/hats.html | 6 +---- files/templates/message.html | 8 +----- files/templates/oauth.html | 17 +----------- files/templates/poll_votes.html | 13 +-------- files/templates/shop.html | 7 +---- files/templates/sidebar.html | 8 +----- files/templates/stats.html | 7 +---- files/templates/sub/create_hole.html | 28 +------------------- files/templates/submit_hats.html | 7 +---- files/templates/submit_marseys.html | 7 +---- files/templates/update_assets.html | 4 +-- files/templates/userpage/voted_comments.html | 10 +------ files/templates/userpage/voted_posts.html | 8 +----- files/templates/votes.html | 9 +------ 30 files changed, 30 insertions(+), 234 deletions(-) diff --git a/files/templates/admin/admin_home.html b/files/templates/admin/admin_home.html index e26cabf499..b8a52c2266 100644 --- a/files/templates/admin/admin_home.html +++ b/files/templates/admin/admin_home.html @@ -1,12 +1,6 @@ {% extends "default.html" %} - -{% block title %} -{{SITE_NAME}} - -{% endblock %} - +{% block pagetitle %}{{SITE_NAME}}{% endblock %} {% block customPadding %}px-3{% endblock %} - {% block content %}

Admin Tools

diff --git a/files/templates/admin/app.html b/files/templates/admin/app.html index 9fb3f6defa..7a738ebbf8 100644 --- a/files/templates/admin/app.html +++ b/files/templates/admin/app.html @@ -1,12 +1,6 @@ {% extends "default.html" %} - -{% block title %} -API App Administration - -{% endblock %} - +{% block pagetitle %}API App Administration{% endblock %} {% block content %} -
diff --git a/files/templates/admin/apps.html b/files/templates/admin/apps.html index 51edd4322b..6c02559311 100644 --- a/files/templates/admin/apps.html +++ b/files/templates/admin/apps.html @@ -1,12 +1,6 @@ {% extends "default.html" %} - -{% block title %} -API App Administration - -{% endblock %} - +{% block pagetitle %}API App Administration{% endblock %} {% block content %} -
diff --git a/files/templates/admin/image_posts.html b/files/templates/admin/image_posts.html index 864581f7de..d98a429644 100644 --- a/files/templates/admin/image_posts.html +++ b/files/templates/admin/image_posts.html @@ -1,22 +1,12 @@ {% extends "userpage.html" %} - {% block pagetype %}userpage{% endblock %} {% block desktopBanner %}{% endblock %} {% block desktopUserBanner %}{% endblock %} {% block mobileUserBanner %}{% endblock %} - -{% block title %} -Image feed - -{% endblock %} - - +{% block pagetitle %}Image feed{% endblock %} {% block content %} -
-
- {% block listing %}
{% include "submission_listing.html" %} diff --git a/files/templates/admin/removed_comments.html b/files/templates/admin/removed_comments.html index c471c66db9..c0b72427ac 100644 --- a/files/templates/admin/removed_comments.html +++ b/files/templates/admin/removed_comments.html @@ -1,12 +1,6 @@ {% extends "admin/removed_posts.html" %} - -{% block title %} -Removed Comments -{% endblock %} - +{% block pagetitle %}Removed Comments{% endblock %} {% block listing %} - -
{% with comments=listing %} {% include "comments.html" %} @@ -21,5 +15,4 @@
{% endif %}
- {% endblock %} diff --git a/files/templates/admin/removed_posts.html b/files/templates/admin/removed_posts.html index 38ef4eb034..cb6ec97041 100644 --- a/files/templates/admin/removed_posts.html +++ b/files/templates/admin/removed_posts.html @@ -1,17 +1,10 @@ {% extends "userpage.html" %} - {% block pagetype %}userpage{% endblock %} {% block desktopBanner %}{% endblock %} {% block desktopUserBanner %}{% endblock %} {% block mobileUserBanner %}{% endblock %} - -{% block title %} -Removed Posts - -{% endblock %} - +{% block pagetitle %}Removed Posts{% endblock %} {% block content %} - -
-
- {% block listing %}
{% include "submission_listing.html" %} @@ -37,7 +27,6 @@
{% endblock %} - {% block pagenav %}
- {% endblock %} diff --git a/files/templates/admin/reported_posts.html b/files/templates/admin/reported_posts.html index bd7bdf2213..2531b0dd54 100644 --- a/files/templates/admin/reported_posts.html +++ b/files/templates/admin/reported_posts.html @@ -1,17 +1,10 @@ {% extends "userpage.html" %} - {% block pagetype %}userpage{% endblock %} {% block desktopBanner %}{% endblock %} {% block desktopUserBanner %}{% endblock %} {% block mobileUserBanner %}{% endblock %} - -{% block title %} -Reported Posts - -{% endblock %} - +{% block pagetitle %}Reported Posts{% endblock %} {% block content %} -
-
- {% block listing %}
{% include "submission_listing.html" %} diff --git a/files/templates/api.html b/files/templates/api.html index 1f97a61773..dba2e5fba5 100644 --- a/files/templates/api.html +++ b/files/templates/api.html @@ -1,9 +1,5 @@ {% extends "default.html" %} - -{% block title %} -{{SITE_NAME}} - API - -{% endblock %} +{% block pagetitle %}API{% endblock %} {% block content %}

API Guide for Bots

diff --git a/files/templates/casino/game_screen.html b/files/templates/casino/game_screen.html index 3b41b1b80d..dc67e5fdae 100644 --- a/files/templates/casino/game_screen.html +++ b/files/templates/casino/game_screen.html @@ -1,6 +1,4 @@ -{% extends "default.html" %} {% block title %} -{{game.capitalize()}} -{% endblock %} {% block content %} +{% extends "default.html" %} {% block pagetitle %}{{game.capitalize()}}{% endblock %} {% block content %}