summary refs log tree commit diff
path: root/sitemap.xsl
diff options
context:
space:
mode:
authormayx2025-06-29 08:31:33 +0000
committermayx2025-06-29 08:31:33 +0000
commit4de724f972c65ca474994e321b66844ded99f544 (patch)
tree9e4acdee89ae79152f9055e4529929b98c8ba3c8 /sitemap.xsl
parent0afcae7cd8ee9efab216a1d3abfa613516f0e466 (diff)
Update 4 files
- /_layouts/xslt_container.html
- /_layouts/xslt.html
- /sitemap.xsl
- /feed.xslt.xml
Diffstat (limited to 'sitemap.xsl')
-rw-r--r--sitemap.xsl11
1 files changed, 10 insertions, 1 deletions
diff --git a/sitemap.xsl b/sitemap.xsl
index 86b131d..6cf398e 100644
--- a/sitemap.xsl
+++ b/sitemap.xsl
@@ -6,5 +6,14 @@ title: Sitemap
 <h1>Sitemap</h1>
 <p>以下是本站的所有链接:</p>
 <ul>
-<xsl:apply-templates select="sm:urlset" />
+  <xsl:for-each select="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:for-each>
 </ul>
\ No newline at end of file