aboutsummaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/_headers6
-rw-r--r--public/_redirects1
-rw-r--r--public/atom.xsl34
-rw-r--r--public/sitemap.xsl25
4 files changed, 59 insertions, 7 deletions
diff --git a/public/_headers b/public/_headers
deleted file mode 100644
index 5139dee..0000000
--- a/public/_headers
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
- X-Frame-Options: DENY
- X-Content-Type-Options: nosniff
- Referrer-Policy: no-referrer
- Content-Security-Policy: default-src 'self'; script-src static.cloudflareinsights.com; connect-src cloudflareinsights.com; object-src 'none'; require-trusted-types-for 'script';
- Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
diff --git a/public/_redirects b/public/_redirects
deleted file mode 100644
index dc42aa9..0000000
--- a/public/_redirects
+++ /dev/null
@@ -1 +0,0 @@
-/blog/ /posts/ 301
diff --git a/public/atom.xsl b/public/atom.xsl
new file mode 100644
index 0000000..c9c31b1
--- /dev/null
+++ b/public/atom.xsl
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:atom="http://www.w3.org/2005/Atom" exclude-result-prefixes="atom">
+ <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
+ <xsl:template match="/">
+ <html style="color-scheme: dark light">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
+ <title>Subscribe to Feed</title>
+ <link rel="icon" href="/favicon.svg" type="image/svg+xml"/>
+ </head>
+ <body>
+ <h1>Atom Feed</h1>
+ <p>Looks Like you want to subscribe. You need to add the current url to your feed reader.</p>
+ <p><a href="https://en.wikipedia.org/wiki/Atom_(web_standard)">For More details of feeds</a></p>
+ <p><a href="{atom:link/@href}" download="sudomsg.atom.xml">Download the feed instead</a></p>
+ <h2>Post From <a>
+ <xsl:attribute name="href">
+ <xsl:value-of select="/atom:feed/atom:link[not(@rel)]/@href"/>
+ </xsl:attribute>
+ <xsl:value-of select="atom:feed/atom:title"/>
+ </a></h2>
+ <article>
+ <xsl:for-each select="atom:feed/atom:entry">
+ <a href="{atom:link/@href}">
+ <xsl:value-of select="atom:title"/>
+ - <xsl:value-of select="atom:updated"/>
+ </a>
+ </xsl:for-each>
+ </article>
+ </body>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>
diff --git a/public/sitemap.xsl b/public/sitemap.xsl
new file mode 100644
index 0000000..d3ad1a3
--- /dev/null
+++ b/public/sitemap.xsl
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9" exclude-result-prefixes="sitemap">
+ <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
+ <xsl:template match="/">
+ <html style="color-scheme: dark light">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
+ <title>Sitemap</title>
+ </head>
+ <body>
+ <h1>Sitemap</h1>
+ <p>Looks Like you reached the <a href="https://en.wikipedia.org/wiki/Sitemaps">sitemap</a> for Search engine use</p>
+ <h2>Webpages</h2>
+ <ul>
+ <xsl:for-each select="sitemap:urlset/sitemap:url">
+ <li>
+ <a href="{sitemap:loc}"><xsl:value-of select="sitemap:loc"/></a>
+ </li>
+ </xsl:for-each>
+ </ul>
+ </body>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>