Skip to content

fix(rss): update RSS template and Hugo version for compatibility#417

Merged
mnencia merged 1 commit intomainfrom
dev/fix-hugo-rss-template
Mar 12, 2026
Merged

fix(rss): update RSS template and Hugo version for compatibility#417
mnencia merged 1 commit intomainfrom
dev/fix-hugo-rss-template

Conversation

@mnencia
Copy link
Member

@mnencia mnencia commented Mar 12, 2026

Hugo v0.156.0 removed the deprecated .Site.Author field, breaking the RSS template build. This updates the template to use site.Params.author following 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.XMLEscape replaces the deprecated html filter, .PublishDate for item dates, and lastBuildDate now uses the most recently modified page.

Tested with npm run build and npm run dev on Hugo 0.157.0.

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>
@mnencia mnencia requested a review from a team as a code owner March 12, 2026 13:26
@mnencia mnencia merged commit 78818c7 into main Mar 12, 2026
4 checks passed
@mnencia mnencia deleted the dev/fix-hugo-rss-template branch March 12, 2026 15:30
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
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.

3 participants