My personal website built with Hugo https://mehl.mx
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sitemap.xml 938B

1234567891011121314151617181920212223
  1. <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
  2. xmlns:xhtml="http://www.w3.org/1999/xhtml">
  3. {{ range .Data.Pages }}
  4. {{ if ne .Params.sitemap_hide true }}
  5. <url>
  6. <loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }}
  7. <lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }}
  8. <changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
  9. <priority>{{ .Sitemap.Priority }}</priority>{{ end }}{{ if .IsTranslated }}{{ range .Translations }}
  10. <xhtml:link
  11. rel="alternate"
  12. hreflang="{{ .Lang }}"
  13. href="{{ .Permalink }}"
  14. />{{ end }}
  15. <xhtml:link
  16. rel="alternate"
  17. hreflang="{{ .Lang }}"
  18. href="{{ .Permalink }}"
  19. />{{ end }}
  20. </url>
  21. {{ end }}
  22. {{ end }}
  23. </urlset>