🐛 Remove .Author check from warnings partial#1150
Open
major wants to merge 1 commit intojpanther:devfrom
Open
Conversation
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>
✅ Deploy Preview for hugo-congo ready!Built without sensitive environment variables
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
File can be deleted after jpanther/congo#1150 is merged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hugo v0.156.0 removed the deprecated
.Site.Authorfield entirely, which turns the deprecation warning on line 10 ofwarnings.htmlinto a hard build error.The fix removes the
.Authorcheck 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