Skip to content

🐛 Remove .Author check from warnings partial#1150

Open
major wants to merge 1 commit intojpanther:devfrom
major:fix/remove-author-warning
Open

🐛 Remove .Author check from warnings partial#1150
major wants to merge 1 commit intojpanther:devfrom
major:fix/remove-author-warning

Conversation

@major
Copy link
Contributor

@major major commented Feb 18, 2026

Hugo v0.156.0 removed the deprecated .Site.Author field entirely, which turns the deprecation warning on line 10 of warnings.html into a hard build error.

The fix removes the .Author check since the field no longer exists in Hugo's site object and anyone still using the old config format would need to address far more than this warning.

Tested with npm run example (hugo build against example site) — builds clean across all 5 locales.

Fixes #1149

Hugo v0.156.0 removed the deprecated .Site.Author field, causing
this deprecation warning to become a hard build error.

Fixes jpanther#1149

Signed-off-by: Major Hayden <major@mhtx.net>
@netlify
Copy link

netlify bot commented Feb 18, 2026

Deploy Preview for hugo-congo ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 659757a
🔍 Latest deploy log https://app.netlify.com/projects/hugo-congo/deploys/69963e041579ed0008dc70f6
😎 Deploy Preview https://deploy-preview-1150--hugo-congo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

DonQuinleone added a commit to DonQuinleone/website that referenced this pull request Feb 26, 2026
ISSUE: jpanther/congo#1149
FIX: jpanther/congo#1150

Awaiting the above PR being merged into mastered and published as a
release.
jneidel added a commit to jneidel/jneidel.com that referenced this pull request Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant