hugo/docs/content/overview
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
..
configuration.md hugolib: Make RSS item limit configurable 2017-02-17 19:53:08 +01:00
installing.md Add the instructions to install the snap 2017-01-06 18:55:25 +01:00
introduction.md docs: Add netlify to the list of static hosting solutions 2017-01-26 19:42:56 +01:00
quickstart.md all: Unify case of config variable names 2016-10-24 20:56:00 +02:00
source-directory.md docs: Fix typo in overview/source-directory.md 2017-01-02 15:58:48 +01:00
usage.md commands: Add noChmod option to disable perm sync 2016-11-30 08:35:30 +01:00