hugo/docs
Cameron Moore 10c13f5d79 hugolib: Make RSS item limit configurable
Add a new rssLimit site configuration option with default of 15.  Prior
to this fix, you could create your own RSS feed to override the default
limit of 15, but we still had a hardcoded limit of 50 items set in
`hugolib.renderRSS()`.

With this option in place, the `range first 15 .Data.Pages` logic is no
longer hardcoded into the embedded RSS template.

Because the size of the slice passed to the template is now limited to
rssLimit instead of 50, this commit is a breaking change for sites
with a custom RSS template that expects more than 15 items.

Fixes #3035
2017-02-17 19:53:08 +01:00
..
archetypes [Docs] Copyediting 2015-01-28 18:02:40 -07:00
content hugolib: Make RSS item limit configurable 2017-02-17 19:53:08 +01:00
data docs: Add one more quote 2016-04-08 00:06:39 +02:00
layouts docs: Vanity-update of site meta description 2017-01-05 01:40:00 +01:00
static docs: Update www.bullion-investor.com/report/ in the showcase 2017-02-12 10:03:44 +01:00
.gitignore Add ToC to long pages 2015-05-11 18:39:42 +02:00
config.toml docs: Don't use binary version in docs site 2017-01-02 14:08:36 +01:00