add styling to sitemap
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-09-08 10:49:41 -07:00
parent bbcdb5ee03
commit 3fc4468d09
+25 -18
View File
@@ -8,28 +8,35 @@ eleventyExcludeFromCollections: true
<html> <html>
<head> <head>
<title>Sitemap</title> <title>Sitemap</title>
<style>{% include "css/main.css" %}</style>
</head> </head>
<body> <body>
<table> <main>
<thead> <h1>sitemap: hello hello</h1>
<tr> <p class="centered">
<th>URL</th> Return <a href="/">home</a>.
<th>Last modified</th> </p>
</tr> <table>
</thead> <thead>
<tbody>
<xsl:for-each select="sitemap:urlset/sitemap:url">
<tr> <tr>
<td> <th>URL</th>
<xsl:value-of select="sitemap:loc" /> <th>Last modified</th>
</td>
<td>
<xsl:value-of select="sitemap:lastmod" />
</td>
</tr> </tr>
</xsl:for-each> </thead>
</tbody> <tbody>
</table> <xsl:for-each select="sitemap:urlset/sitemap:url">
<tr>
<td>
<xsl:value-of select="sitemap:loc" />
</td>
<td>
<xsl:value-of select="sitemap:lastmod" />
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</main>
</body> </body>
</html> </html>
</xsl:template> </xsl:template>