mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-12 05:59:20 +00:00
fix(hugo): update deprecated LanguageCode to Locale
This commit is contained in:
1 parent
da8ca782aa
commit
1eb3d8da3e
3 files changed
+4
-4
No files matched your search
@@ -32,7 +32,7 @@
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
{{ if .IsTranslated }}
|
||||
{{ range .AllTranslations }}
|
||||
{{ $hreflang := .Language.LanguageCode | default .Language.Lang }}
|
||||
{{ $hreflang := .Language.Locale | default .Language.Lang }}
|
||||
{{ if $hreflang }}
|
||||
<link rel="alternate" hreflang="{{ $hreflang }}" href="{{ .Permalink }}">
|
||||
{{ end }}
|
||||
|
||||
Reference in new issue
Block a user