hugo/docs/content
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
..
commands docs: Regenerate commands doc 2016-12-20 09:39:25 +01:00
community docs: Add article to press section 2017-02-05 21:53:14 +01:00
content docs: Multilingual documentation for frontmatter params 2017-01-27 19:14:48 +01:00
extras docs: Enable ToC for extras/shortcodes 2016-12-26 19:31:34 +01:00
meta docs: Fix typo in v0.18 release notes 2017-01-02 14:11:04 +01:00
overview hugolib: Make RSS item limit configurable 2017-02-17 19:53:08 +01:00
showcase docs: Update www.bullion-investor.com/report/ in the showcase 2017-02-12 10:03:44 +01:00
taxonomies docs: Add sections on node now being a page 2016-11-22 09:57:03 +01:00
templates hugolib: Add ability to sort by frontmatter parameters 2017-02-10 20:01:25 +07:00
themes docs: Update GitLab depleyment in /themes/installing.md 2016-12-28 14:01:09 +01:00
tools docs: Add hugofy for atom to the tools section 2017-02-16 09:44:27 +01:00
troubleshooting docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
tutorials docs: Add instructions for customized domain 2017-02-09 10:50:16 +01:00