diff --git a/src/main/resources/templates/common/web/sitemap_xml.ftl b/src/main/resources/templates/common/web/sitemap_xml.ftl index f7d17403cb315f921f7e042cf7e2c1d5ec518f19..6cdf710c166dcf4b358d81e2dc610aa6180f88b9 100644 --- a/src/main/resources/templates/common/web/sitemap_xml.ftl +++ b/src/main/resources/templates/common/web/sitemap_xml.ftl @@ -8,4 +8,24 @@ + <@categoryTag method="list"> + <#if categories?? && categories?size gt 0> + <#list categories as category> + + <#if !globalAbsolutePathEnabled!true>${blog_url!}${category.fullPath!} + ${category.createTime?iso_local} + + + + + <@tagTag method="list"> + <#if tags?? && tags?size gt 0> + <#list tags as tag> + + <#if !globalAbsolutePathEnabled!true>${blog_url!}${tag.fullPath!} + ${tag.createTime?iso_local} + + + + \ No newline at end of file