mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
opengraph: sync to Hugo’s implementation #856
This commit is contained in:
parent
03c04a0e49
commit
4536404dc3
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
||||||
<meta property="og:description" content="{{ . }}">
|
<meta property="og:description" content="{{ . }}">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- with or .Params.locale site.Language.LanguageCode site.Language.Lang }}
|
{{- with or .Params.locale site.Language.LanguageCode }}
|
||||||
<meta property="og:locale" content="{{ . }}">
|
<meta property="og:locale" content="{{ . }}">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue