schema: sync to Hugo changes for LanguageCode #866

This commit is contained in:
Sören Weber 2024-06-05 23:20:28 +02:00
parent 58815765c5
commit 6f24d34f44
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -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 }}