From 54b409ac2b5532c3d1065aedb955553eeff6bfbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=A5=E9=9B=A8?= <49756728+cetr@users.noreply.github.com> Date: Wed, 17 Mar 2021 18:31:57 +0800 Subject: [PATCH] feat: add index page to sitemap.xml (#1318) --- src/main/resources/templates/common/web/sitemap_xml.ftl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/resources/templates/common/web/sitemap_xml.ftl b/src/main/resources/templates/common/web/sitemap_xml.ftl index 6cdf710c1..0d24441ed 100644 --- a/src/main/resources/templates/common/web/sitemap_xml.ftl +++ b/src/main/resources/templates/common/web/sitemap_xml.ftl @@ -1,5 +1,9 @@ + + ${blog_url!} + ${options.birthday?number_to_datetime?iso_local} + <#if posts?? && posts?size gt 0> <#list posts as post> @@ -28,4 +32,4 @@ - \ No newline at end of file +