]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Fri, 26 May 2023 14:02:39 +0000 (16:02 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 26 May 2023 14:02:39 +0000 (16:02 +0200)
- also expose these RSS URLs for auto-discovery

index.html

index 7ac1bdf6a7f53aa7201c5d653499bdae09113ac6..f4e14b15db4d36f67d52c0cfe8d2cc93ab2b2128 100644 (file)
@@ -1,7 +1,12 @@
 <!DOCTYPE html>
 <head>
     <title>fedi-block-api{% if domain %} {{domain}}{% endif %}</title>
-    <link rel="alternate" type="application/rss+xml" title="RSS Feed for {{base_url}}" href="{base_url}/rss" />
+    <link rel="alternate" type="application/rss+xml" title="RSS Feed for {{base_url}}" href="{{base_url}}/rss" />
+    {% if domain %}
+    <link rel="alternate" type="application/rss+xml" title="RSS Feed for blocked domain {{domain}}" href="{{base_url}}/rss?domain={{domain}}" />
+    {% elif reverse %}
+    <link rel="alternate" type="application/rss+xml" title="RSS Feed for blocking domain {{reverse}}" href="{{base_url}}/rss?reverse={{reverse}}" />
+    {% endif %}
     <style>
         body {
             background-color: #000022;