diff options
Diffstat (limited to 'templates/sitemap.xml')
| -rw-r--r-- | templates/sitemap.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/sitemap.xml b/templates/sitemap.xml index 3a9cb09..b7a0926 100644 --- a/templates/sitemap.xml +++ b/templates/sitemap.xml | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"> | 1 | <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"> |
| 2 | {{ range $idx, $page := .Pages }} | 2 | {{ range $idx, $page := .Pages }} |
| 3 | <url> | 3 | <url> |
| 4 | <loc>{{ $.Config.BaseURL }}/{{ $page.RelPermalink }}</loc> | 4 | <loc>{{ $.Config.BaseURL }}/{{ $page.RelPermalink }}</loc> |
| 5 | <lastmod>{{ $page.Created.Format "2006-01-02T15:04:05" }}+00:00</lastmod> | 5 | <lastmod>{{ $page.Created.Format "2006-01-02T15:04:05" }}+00:00</lastmod> |
| 6 | </url> | 6 | </url> |
| 7 | {{ end }} | 7 | {{ end }} |
| 8 | </urlset> | 8 | </urlset> |
