Revert "Added image support to the sitemap.xml template"

This reverts commit 3c147bd419.

Fixes #972
This commit is contained in:
bep 2015-03-14 00:03:34 +01:00
parent 3c147bd419
commit 27ed49e532

View file

@ -77,13 +77,6 @@ func (t *GoHTMLTemplate) EmbedTemplates() {
<lastmod>{{ safeHtml ( .Date.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }} <lastmod>{{ safeHtml ( .Date.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }}
<changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }} <changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
<priority>{{ .Sitemap.Priority }}</priority>{{ end }} <priority>{{ .Sitemap.Priority }}</priority>{{ end }}
{{ range .Params.images }}
<image:image>
<image:loc>.src</image:loc>
{{ with .title }}<image:title><![CDATA[.]]></image:title>{{ end }}
{{ with .caption }}<image:caption><![CDATA[.]]></image:caption>{{ end }}
</image:image>
{{ end }}
</url> </url>
{{ end }} {{ end }}
</urlset>`) </urlset>`)