Mobile-responsive personal website, generated using Hugo. https://kevin-mok.com/
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.

21 lines
899 B

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