mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
Extending rss item limit to 50… can reduce further in template with ‘first N’ functionality.
This commit is contained in:
@@ -519,7 +519,7 @@ func (s *Site) RenderHomePage() error {
|
|||||||
n.Url = helpers.Urlize("index.xml")
|
n.Url = helpers.Urlize("index.xml")
|
||||||
n.Title = "Recent Content"
|
n.Title = "Recent Content"
|
||||||
n.Permalink = permalink(s, "index.xml")
|
n.Permalink = permalink(s, "index.xml")
|
||||||
high := 15
|
high := 50
|
||||||
if len(s.Pages) < high {
|
if len(s.Pages) < high {
|
||||||
high = len(s.Pages)
|
high = len(s.Pages)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user