URI: 
       Added image support to the sitemap.xml template - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 3c147bd41922c4f0ac81bc1e1f2ffab8093d5d1c
   DIR parent 0be2aade99a4e7d16a48cb4372d383a3d1748d10
  HTML Author: Derek Perkins <derek@derekperkins.com>
       Date:   Mon, 24 Nov 2014 19:59:26 -0700
       
       Added image support to the sitemap.xml template
       
       Conflicts:
               tpl/template_embedded.go
       
       Diffstat:
         M tpl/template_embedded.go            |       7 +++++++
       
       1 file changed, 7 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/tpl/template_embedded.go b/tpl/template_embedded.go
       @@ -77,6 +77,13 @@ 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>`)