mirror of https://github.com/halo-dev/halo
pref: sitemap.xml (#1267)
parent
48ca0492d1
commit
d508948dea
|
@ -8,4 +8,24 @@
|
||||||
</url>
|
</url>
|
||||||
</#list>
|
</#list>
|
||||||
</#if>
|
</#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>
|
</urlset>
|
Loading…
Reference in New Issue