Skip to content
New issue

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

refactor: Simplify lang attribute in html element #738

Merged
merged 1 commit into from
Oct 18, 2024
Merged

refactor: Simplify lang attribute in html element #738

merged 1 commit into from
Oct 18, 2024

Conversation

jmooring
Copy link
Contributor

As of Hugo v0.122.4, these are equivalent:

{{ site.LanguageCode | default site.Language.Lang  }}
{{ site.Language.LanguageCode }}

See https://gohugo.io/methods/site/language/#methods

Copy link

netlify bot commented Oct 17, 2024

Deploy Preview for gohugo-ananke-theme-demo canceled.

Name Link
🔨 Latest commit 0b0fe2f
🔍 Latest deploy log https://app.netlify.com/sites/gohugo-ananke-theme-demo/deploys/671142599fcfb600085714f9

Copy link

netlify bot commented Oct 17, 2024

Deploy Preview for ananke-theme failed.

Name Link
🔨 Latest commit
🔍 Latest deploy log https://app.netlify.com/sites/ananke-theme/deploys/6711a32c188eb6f9a9a0a9d2

@davidsneighbour davidsneighbour self-assigned this Oct 18, 2024
@davidsneighbour davidsneighbour merged commit 773f06c into theNewDynamic:master Oct 18, 2024
4 of 8 checks passed
@jmooring jmooring deleted the simplify-lang-attribute branch October 18, 2024 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants