summaryrefslogtreecommitdiffstats
path: root/hugolib/sitemap_test.go
diff options
context:
space:
mode:
authorbep <bjorn.erik.pedersen@gmail.com>2015-03-18 21:27:29 +0100
committerbep <bjorn.erik.pedersen@gmail.com>2015-03-18 21:27:29 +0100
commitefb564775afd319b953a386cf9e8cc1aca0b585e (patch)
treecc7df99e74925998207465f3582d2b8ed3d5f373 /hugolib/sitemap_test.go
parenta8bfaba081d6a31b6371e42e0448c9850d593d82 (diff)
Change safeHTtml to safeHTML in sitemap template
Diffstat (limited to 'hugolib/sitemap_test.go')
-rw-r--r--hugolib/sitemap_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/sitemap_test.go b/hugolib/sitemap_test.go
index c51ad06df..0342e2261 100644
--- a/hugolib/sitemap_test.go
+++ b/hugolib/sitemap_test.go
@@ -15,7 +15,7 @@ const SITEMAP_TEMPLATE = `<urlset xmlns="http://www.sitemaps.org/schemas/sitemap
{{ range .Data.Pages }}
<url>
<loc>{{ .Permalink }}</loc>
- <lastmod>{{ safeHtml ( .Date.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ with .Sitemap.ChangeFreq }}
+ <lastmod>{{ safeHTML ( .Date.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ with .Sitemap.ChangeFreq }}
<changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
<priority>{{ .Sitemap.Priority }}</priority>{{ end }}
</url>