未验证 提交 d508948d 编写于 作者: RYAN0UP's avatar RYAN0UP 提交者: GitHub

pref: sitemap.xml (#1267)

上级 48ca0492
......@@ -8,4 +8,24 @@
</url>
</#list>
</#if>
<@categoryTag method="list">
<#if categories?? && categories?size gt 0>
<#list categories as category>
<url>
<loc><#if !globalAbsolutePathEnabled!true>${blog_url!}</#if>${category.fullPath!}</loc>
<lastmod>${category.createTime?iso_local}</lastmod>
</url>
</#list>
</#if>
</@categoryTag>
<@tagTag method="list">
<#if tags?? && tags?size gt 0>
<#list tags as tag>
<url>
<loc><#if !globalAbsolutePathEnabled!true>${blog_url!}</#if>${tag.fullPath!}</loc>
<lastmod>${tag.createTime?iso_local}</lastmod>
</url>
</#list>
</#if>
</@tagTag>
</urlset>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册