mirror of https://github.com/halo-dev/halo
feat: add index page to sitemap.xml (#1318)
parent
30c50f61f8
commit
54b409ac2b
|
@ -1,5 +1,9 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
|
<url>
|
||||||
|
<loc>${blog_url!}</loc>
|
||||||
|
<lastmod>${options.birthday?number_to_datetime?iso_local}</lastmod>
|
||||||
|
</url>
|
||||||
<#if posts?? && posts?size gt 0>
|
<#if posts?? && posts?size gt 0>
|
||||||
<#list posts as post>
|
<#list posts as post>
|
||||||
<url>
|
<url>
|
||||||
|
|
Loading…
Reference in New Issue