mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
fix: a page should list itself
This commit is contained in:
parent
49cd419e6e
commit
3b155a3b57
@ -14,9 +14,7 @@
|
||||
*/}}
|
||||
{{ with .AllTranslations }}
|
||||
{{ range . }}
|
||||
{{ if not (eq .Lang $.Page.Lang) }}
|
||||
<link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}">
|
||||
{{ end }}
|
||||
<link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}">
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user