hugo

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

git clone git://git.shimmy1996.com/hugo.git
commit 27ed49e5327cc7fbf2bd37aa6d753777b4943cc8
parent 3c147bd41922c4f0ac81bc1e1f2ffab8093d5d1c
Author: bep <bjorn.erik.pedersen@gmail.com>
Date:   Sat, 14 Mar 2015 00:03:34 +0100

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

This reverts commit 3c147bd41922c4f0ac81bc1e1f2ffab8093d5d1c.

Fixes #972

Diffstat:
Mtpl/template_embedded.go | 7-------
1 file changed, 0 insertions(+), 7 deletions(-)
diff --git a/tpl/template_embedded.go b/tpl/template_embedded.go
@@ -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>`)