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>
<head>
<title>Sitemap</title>
<style>{% include "css/main.css" %}</style>
</head>
<body>
<table>
<thead>
<tr>
<th>URL</th>
<th>Last modified</th>
</tr>
</thead>
<tbody>
<xsl:for-each select="sitemap:urlset/sitemap:url">
<main>
<h1>sitemap: hello hello</h1>
<p class="centered">
Return <a href="/">home</a>.
</p>
<table>
<thead>
<tr>
<td>
<xsl:value-of select="sitemap:loc" />
</td>
<td>
<xsl:value-of select="sitemap:lastmod" />
</td>
<th>URL</th>
<th>Last modified</th>
</tr>
</xsl:for-each>
</tbody>
</table>
</thead>
<tbody>
<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>
</html>
</xsl:template>