Extending rss item limit to 50… can reduce further in template with ‘first N’ functionality.

This commit is contained in:
spf13 2014-01-18 21:18:54 -05:00
parent fa2e58fd4a
commit 44186c6af1

View file

@ -519,7 +519,7 @@ func (s *Site) RenderHomePage() error {
n.Url = helpers.Urlize("index.xml")
n.Title = "Recent Content"
n.Permalink = permalink(s, "index.xml")
high := 15
high := 50
if len(s.Pages) < high {
high = len(s.Pages)
}