1

Gestion du JSON-LD

This commit is contained in:
2026-03-16 21:21:27 +01:00
parent 7676fe3e22
commit b518d573bc
14 changed files with 275 additions and 8 deletions

14
layouts/sitemap.xml Normal file
View File

@@ -0,0 +1,14 @@
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML -}}
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
{{- range .Site.Pages -}}
{{- if not (partial "seo/noindex.html" .) -}}
<url>
<loc>{{ .Permalink }}</loc>
{{- with .Lastmod }}
<lastmod>{{ .Format "2006-01-02T15:04:05Z07:00" }}</lastmod>
{{- end }}
</url>
{{- end -}}
{{- end -}}
</urlset>