"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tpl/tplimpl/embedded/templates/_default/sitemap.xml" between
hugo-0.80.0.tar.gz and hugo-0.81.0.tar.gz

About: Hugo is a static site generator that takes a source directory of Markdown files and templates and uses these as input to create a complete website (written in Go).

sitemap.xml  (hugo-0.80.0):sitemap.xml  (hugo-0.81.0)
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safe HTML }} {{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safe HTML }}
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"> xmlns:xhtml="http://www.w3.org/1999/xhtml">
{{ range .Data.Pages }} {{ range .Data.Pages }}
{{- if .Permalink -}}
<url> <url>
<loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }} <loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }}
<lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</las tmod>{{ end }}{{ with .Sitemap.ChangeFreq }} <lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</las tmod>{{ 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 }}{{ if .IsTranslated }}{ { range .Translations }} <priority>{{ .Sitemap.Priority }}</priority>{{ end }}{{ if .IsTranslated }}{ { range .Translations }}
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="{{ .Language.Lang }}" hreflang="{{ .Language.Lang }}"
href="{{ .Permalink }}" href="{{ .Permalink }}"
/>{{ end }} />{{ end }}
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="{{ .Language.Lang }}" hreflang="{{ .Language.Lang }}"
href="{{ .Permalink }}" href="{{ .Permalink }}"
/>{{ end }} />{{ end }}
</url> </url>
{{- end -}}
{{ end }} {{ end }}
</urlset> </urlset>
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)