Skip to content

Commit

Permalink
schema: sync to Hugo changes for LanguageCode #866
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed Jun 5, 2024
1 parent 5881576 commit 6f24d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/opengraph.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{{- end }}

{{- with site.Language.LanguageCode }}
<meta property="og:locale" content="{{ . }}">
<meta property="og:locale" content="{{ replace . `-` `_` }}">
{{- end }}

{{- if .IsPage }}
Expand Down

0 comments on commit 6f24d34

Please sign in to comment.