fix: remove duplicate lang
Some checks failed
Blog Deployment / check-rebuild (push) Successful in 4s
Blog Deployment / build (push) Has been skipped
Blog Deployment / deploy-staging (push) Successful in 8s
Blog Deployment / test-staging (push) Failing after 2s
Blog Deployment / merge (push) Has been skipped
Blog Deployment / deploy-production (push) Has been skipped
Blog Deployment / test-production (push) Has been skipped
Blog Deployment / clean (push) Has been skipped

This commit is contained in:
Vezpi 2025-06-05 07:34:18 +00:00
parent 8ed35ae1f9
commit 182806bef8

View File

@ -14,16 +14,7 @@
<lastmod>{{ safeHTML ( .Lastmod.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 }}{{ if .IsTranslated }}{{ range .Translations }}
<xhtml:link
rel="alternate"
hreflang="{{ .Language.Lang }}"
href="{{ .Permalink }}"
/>{{ end }}
<xhtml:link
rel="alternate"
hreflang="{{ .Language.Lang }}"
href="{{ .Permalink }}"
/>{{ end }}
<xhtml:link rel="alternate" hreflang="{{ .Language.Lang }}" href="{{ .Permalink }}"/>{{ end }}
</url>
{{- end -}}
{{ end }}