Skip to content

Commit

Permalink
Revert "Added image support to the sitemap.xml template"
Browse files Browse the repository at this point in the history
This reverts commit 3c147bd.

Fixes gohugoio#972
  • Loading branch information
bep authored and tychoish committed Aug 13, 2017
1 parent 0a04ab4 commit 5866441
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tpl/template_embedded.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,6 @@ func (t *GoHTMLTemplate) EmbedTemplates() {
<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 }}
<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>
{{ end }}
</urlset>`)
Expand Down

0 comments on commit 5866441

Please sign in to comment.