We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hugo/tpl/tplimpl/embedded/templates/opengraph.html
Lines 15 to 17 in b1bf0bf
Improvements:
site.Language.LanguageCode
site.Language.Lang
Proposed change:
{{- with or .Params.locale site.Language.LanguageCode }} <meta property="og:locale" content="{{ replace . `-` `_` }}"> {{- end }}
The text was updated successfully, but these errors were encountered:
languageCode
tpl/tplimpl: Improve locale value in opengraph.html
9b42c2c
Closes gohugoio#12480
87ab7f7
Closes #12480
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
hugo/tpl/tplimpl/embedded/templates/opengraph.html
Lines 15 to 17 in b1bf0bf
Improvements:
site.Language.LanguageCode
falls back tosite.Language.Lang
, so the explicit fallback above is not required.Proposed change:
The text was updated successfully, but these errors were encountered: