mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Revert "Added image support to the sitemap.xml template"
This reverts commit 3c147bd419
.
Fixes #972
This commit is contained in:
parent
3c147bd419
commit
27ed49e532
1 changed files with 0 additions and 7 deletions
|
@ -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>`)
|
||||||
|
|
Loading…
Reference in a new issue