hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit efb564775afd319b953a386cf9e8cc1aca0b585e
parent a8bfaba081d6a31b6371e42e0448c9850d593d82
Author: bep <bjorn.erik.pedersen@gmail.com>
Date:   Wed, 18 Mar 2015 21:27:29 +0100

Change safeHTtml to safeHTML in sitemap template

Diffstat:
Mhugolib/sitemap_test.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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>