aboutsummaryrefslogtreecommitdiffstats
path: root/public/sitemap.xsl
blob: d3ad1a3c935686ee4f0612f8716408faebcf1aeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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>