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

@netlify
Copy link

netlify bot commented Feb 18, 2026

Deploy Preview for hugo-congo ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit d53fd00
🔍 Latest deploy log https://app.netlify.com/projects/hugo-congo/deploys/69b801012766e600084aae42
😎 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
@phybros
Copy link

phybros commented Mar 15, 2026

When will this be merged?

Copy link

@tbysctt tbysctt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for helping to keep Congo up to date

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>
@major major force-pushed the fix/remove-author-warning branch from 659757a to d53fd00 Compare March 16, 2026 13:09
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.

Build fails with Hugo v0.156.0 — .Author removed from site object

3 participants