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 #972
  • Loading branch information
bep committed Mar 13, 2015
1 parent 3c147bd commit 27ed49e
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 27ed49e

Please sign in to comment.