diff options
author | mayx | 2025-08-10 17:15:55 +0000 |
---|---|---|
committer | mayx | 2025-08-10 17:15:55 +0000 |
commit | 86f82d5aac1eda7b2e2e9511d57a6502686e0a14 (patch) | |
tree | d7dc4e7e2e4e7769887e8af0b3730d0a2b9b93cd /sitemap.xsl | |
parent | 3c324af39e141b0b47dd4e0e6ae114c1ecd94e3c (diff) |
- /feed.json
- /sitemap.xsl
Diffstat (limited to 'sitemap.xsl')
-rw-r--r-- | sitemap.xsl | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/sitemap.xsl b/sitemap.xsl index 4485c3b..4c843a7 100644 --- a/sitemap.xsl +++ b/sitemap.xsl @@ -4,16 +4,14 @@ title: Sitemap --- <h1>Sitemap</h1> -<p>以下是本站的所有链接:</p> +<p>以下是本站的所有链接(总共<xsl:value-of select="count(sm:urlset/sm:url)" />条):</p> <ul> - <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 select="sm:urlset/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> </ul>
\ No newline at end of file |