From b4c2002b9f54840114cfd06f6298e7e30ce06481 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 8 Feb 2024 03:56:40 +0200 Subject: [PATCH] remove irrelevant settings from WPD --- files/templates/settings/advanced.html | 44 ++++++++++++++------------ 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/files/templates/settings/advanced.html b/files/templates/settings/advanced.html index 9bfd3a826..a218a7e2d 100644 --- a/files/templates/settings/advanced.html +++ b/files/templates/settings/advanced.html @@ -100,29 +100,33 @@ {{common.toggle_section("Open External Links in New Tabs", "newtabexternal", "newtabexternal", v.newtabexternal, "Enable if you would like to automatically open links to other sites in new tabs.", false)}} -
-
External Services
-
- {{common.toggle_section("Use Nitter for Twitter Links", "nitter", "nitter", v.nitter, "Enable if you would like to automatically convert twitter.com links to nitter.unixfox.eu links.", false)}} - {{common.toggle_section("Use imgsed for Instagram Links", "imgsed", "imgsed", v.imgsed, "Enable if you would like to automatically convert instagram.com links to imgsed.com links.", false)}} -
-
- -
-
-

Change the domain you would like to view reddit posts in.

-
- + + {% if SITE_NAME != 'WPD' %} +
+
External Services
+
+ {{common.toggle_section("Use Nitter for Twitter Links", "nitter", "nitter", v.nitter, "Enable if you would like to automatically convert twitter.com links to nitter.unixfox.eu links.", false)}} + {{common.toggle_section("Use imgsed for Instagram Links", "imgsed", "imgsed", v.imgsed, "Enable if you would like to automatically convert instagram.com links to imgsed.com links.", false)}} +
+
+ +
+
+

Change the domain you would like to view reddit posts in.

+
+ +
+ {{common.toggle_section("Sort Reddit Links by Controversial", "controversial", "controversial", v.controversial, "Enable if you would like to automatically sort reddit.com links by controversial.", false)}}
- {{common.toggle_section("Sort Reddit Links by Controversial", "controversial", "controversial", v.controversial, "Enable if you would like to automatically sort reddit.com links by controversial.", false)}} -
-
+ + {% endif %} +
Content Filters