aboutsummaryrefslogtreecommitdiffstats
path: root/public/sitemap.xsl
diff options
context:
space:
mode:
author2025-06-29 14:35:59 +0530
committer2025-06-29 14:56:43 +0530
commit8c3daee242c1037d49475cbe977db3c952abf9f6 (patch)
tree1976df242095dcc08b2171ac0e800a622da4b2b7 /public/sitemap.xsl
parentMerge pull request #3 from marcthe12/dependabot/npm_and_yarn/npm_and_yarn-46b... (diff)
downloadsudomsg-8c3daee242c1037d49475cbe977db3c952abf9f6.tar
sudomsg-8c3daee242c1037d49475cbe977db3c952abf9f6.tar.gz
sudomsg-8c3daee242c1037d49475cbe977db3c952abf9f6.tar.bz2
sudomsg-8c3daee242c1037d49475cbe977db3c952abf9f6.tar.lz
sudomsg-8c3daee242c1037d49475cbe977db3c952abf9f6.tar.xz
sudomsg-8c3daee242c1037d49475cbe977db3c952abf9f6.tar.zst
sudomsg-8c3daee242c1037d49475cbe977db3c952abf9f6.zip
Add the first post
Signed-off-by: Marc Pervaz Boocha <mboocha@sudomsg.com>
Diffstat (limited to 'public/sitemap.xsl')
-rw-r--r--public/sitemap.xsl25
1 files changed, 25 insertions, 0 deletions
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>