summaryrefslogtreecommitdiff
path: root/_layouts/xslt_container.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/xslt_container.html')
-rw-r--r--_layouts/xslt_container.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/_layouts/xslt_container.html b/_layouts/xslt_container.html
index 44b6f87..bea0baf 100644
--- a/_layouts/xslt_container.html
+++ b/_layouts/xslt_container.html
@@ -3,7 +3,8 @@
<xsl:stylesheet
version="3.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:atom="http://www.w3.org/2005/Atom">
+ xmlns:atom="http://www.w3.org/2005/Atom"
+ xmlns:sm="http://www.sitemaps.org/schemas/sitemap/0.9">
<xsl:output method="html" version="4.0" encoding="UTF-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:template match="/">
{{ content }}
@@ -42,6 +43,16 @@
<hr />
</div>
</xsl:template>
+ <xsl:template match="sm:urlset">
+ <xsl:for-each select="sm:url">
+ <li>
+ <a>
+ <xsl:attribute name="href"><xsl:value-of select="sm:loc" /></xsl:attribute>
+ <xsl:value-of select="sm:loc" />
+ </a>
+ </li>
+ </xsl:for-each>
+ </xsl:template>
</xsl:stylesheet>
{% else %}<!DOCTYPE html>
{{ content }}