mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
schema: sync to Hugo changes for LanguageCode #866
This commit is contained in:
parent
58815765c5
commit
6f24d34f44
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- with site.Language.LanguageCode }}
|
{{- with site.Language.LanguageCode }}
|
||||||
<meta property="og:locale" content="{{ . }}">
|
<meta property="og:locale" content="{{ replace . `-` `_` }}">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if .IsPage }}
|
{{- if .IsPage }}
|
||||||
|
|
Loading…
Reference in a new issue