aboutsummaryrefslogtreecommitdiff
path: root/exampleSite/content
diff options
context:
space:
mode:
authorNicholas Johnson <>2026-09-18 00:00:00 +0000
committerNicholas Johnson <>2026-09-18 00:00:00 +0000
commitf7010449afad2fea6da148330d201529ccc2d65ce50e31083d605c5733c4afa2 (patch)
tree2f4f379e5354ceb09b52d9ff75c29bce0a6c7f949d2f8266b850fd4557a0c9f2 /exampleSite/content
parent4261deef2716d60664fb17829f786f50dbddcf0649aa96a7ba65fe30d04e9c36 (diff)
downloadhugo-theme-journal-f7010449afad2fea6da148330d201529ccc2d65ce50e31083d605c5733c4afa2.tar.gz
hugo-theme-journal-f7010449afad2fea6da148330d201529ccc2d65ce50e31083d605c5733c4afa2.zip
Fix build failure when RSS limit is unset
Hugo's default for services.rss.limit is -1 (unlimited), and passing a negative length to "first" aborts the build with "sequence length must be non-negative". Every feed template did this unconditionally, so any site that did not explicitly set services.rss.limit failed to build at all, rather than degrading to an unlimited feed. Only apply "first" when a positive limit is configured, which is the same guard Hugo's own internal RSS template uses. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'exampleSite/content')
0 files changed, 0 insertions, 0 deletions