fix: a page should list itself

This commit is contained in:
Robb Shecter 2024-01-29 13:56:50 -07:00 committed by GitHub
parent 49cd419e6e
commit 3b155a3b57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,11 +14,9 @@
*/}}
{{ with .AllTranslations }}
{{ range . }}
{{ if not (eq .Lang $.Page.Lang) }}
<link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}">
{{ end }}
{{ end }}
{{ end }}
{{ hugo.Generator }}
{{/* NOTE: For Production make sure you add `HUGO_ENV="production"` before your build command */}}