diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-21 10:17:57 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-21 10:17:57 +0100 |
| commit | 3387eb61f7cccb3c877cc4d42c0b240b4ee07e9a (patch) | |
| tree | 3ee3fb190f5d81249474674310367f2be4cd2326 | |
| parent | 22329e97f3a9a5784f16dceea30a882311d907b6 (diff) | |
| download | kernel-3387eb61f7cccb3c877cc4d42c0b240b4ee07e9a.tar.gz kernel-3387eb61f7cccb3c877cc4d42c0b240b4ee07e9a.tar.bz2 kernel-3387eb61f7cccb3c877cc4d42c0b240b4ee07e9a.zip | |
Tidy automatic generation of sitemap
| -rw-r--r-- | templates/sitemapindex.tpl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/sitemapindex.tpl b/templates/sitemapindex.tpl new file mode 100644 index 0000000..14df531 --- /dev/null +++ b/templates/sitemapindex.tpl @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> +{foreach from=$gSiteMapIndex item=sitemap} + <sitemap> + <loc>{$sitemap.loc}</loc> + {if $sitemap.lastmod}<lastmod>{$sitemap.lastmod}</lastmod>{/if} + </sitemap> +{/foreach} +</sitemapindex> |
