Update 4 files

- /_layouts/xslt.html
- /_layouts/xslt_container.html
- /sitemap.xsl
- /feed.xslt.xml
This commit is contained in:
mayx
2025-06-26 03:21:48 +00:00
parent dddeb23c41
commit 0afcae7cd8
4 changed files with 26 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ layout: default
<xsl:choose>
<xsl:when test="xsl:stylesheet">
这是订阅预览的样式文件,你可以通过以下链接订阅该博客:<br />
这是本站XML文件例如订阅源或者Sitemap的样式文件,你可以通过以下链接订阅该博客:<br />
<ul>
<li><a href="{{ site.feed.path | relative_url }}">Atom</a></li>
<li><a href="/rss.xml">RSS</a></li>
@@ -13,7 +13,5 @@ layout: default
</xsl:when>
<xsl:otherwise>
{{ content }}
<xsl:apply-templates select="atom:feed/atom:entry" />
<xsl:apply-templates select="/rss/channel/item" />
</xsl:otherwise>
</xsl:choose>