fix(rss): update RSS template and Hugo version for compatibility#417
Merged
fix(rss): update RSS template and Hugo version for compatibility#417
Conversation
Hugo v0.156.0 removed the deprecated .Site.Author field, breaking the RSS template. Align the RSS template with Hugo's current embedded default by using site.Params.author, transform.XMLEscape, .PublishDate, and proper lastBuildDate computation. Bump CI Hugo version from 0.151.0 to 0.157.0. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
sxd
approved these changes
Mar 12, 2026
jsilvela
reviewed
Mar 12, 2026
jsilvela
approved these changes
Mar 12, 2026
github-actions bot
pushed a commit
that referenced
this pull request
Mar 12, 2026
Hugo v0.156.0 removed the deprecated .Site.Author field, breaking the RSS template. Align the RSS template with Hugo's current embedded default by using site.Params.author, transform.XMLEscape, .PublishDate, and proper lastBuildDate computation. Bump CI Hugo version from 0.151.0 to 0.157.0. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> 78818c7
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, breaking the RSS template build. This updates the template to usesite.Params.authorfollowing Hugo's current embedded default, and bumps the CI Hugo version from 0.151.0 to 0.157.0.Other modernizations from the default template:
transform.XMLEscapereplaces the deprecatedhtmlfilter,.PublishDatefor item dates, andlastBuildDatenow uses the most recently modified page.Tested with
npm run buildandnpm run devon Hugo 0.157.0.