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

⚙️ Move .Site.Author to .Site.Params.Author #1681

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

unacro
Copy link
Contributor

@unacro unacro commented Aug 11, 2024

Fix warning deprecated: .Site.Author was deprecated in Hugo v0.124.0 and will be removed in a future release.
As it said, .Site.Author was deprecated by hugo #11569 in v0.124.0 in fact.

Moreover, add disabled = false field (in example & docs) to remind everyone that i18n config and hugo modules COULD be disabled very simply.

Although double negatives are a confusing and BAD naming convention. Not me, bep did.

@nunocoracao nunocoracao changed the title Move .Site.Author to .Site.Params.Author ⚙️ Move .Site.Author to .Site.Params.Author Aug 28, 2024
@nunocoracao nunocoracao changed the base branch from dev to main August 28, 2024 12:16
@nunocoracao nunocoracao changed the base branch from main to dev August 28, 2024 15:41
@nunocoracao nunocoracao merged commit d214314 into nunocoracao:dev Aug 28, 2024
2 checks passed
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