smaller?
This commit is contained in:
parent
cb3ce3924d
commit
e9dce2fe13
|
@ -535,7 +535,7 @@ def create_rss_feed(rss_entries, rss_template, rss_item_template, site_folder):
|
||||||
rss_entries.sort(key=lambda x: x["iso_date"], reverse=True)
|
rss_entries.sort(key=lambda x: x["iso_date"], reverse=True)
|
||||||
|
|
||||||
rss_items = ""
|
rss_items = ""
|
||||||
for rss_entry in rss_entries[:50]:
|
for rss_entry in rss_entries[:25]:
|
||||||
entry_template = itemTemplate
|
entry_template = itemTemplate
|
||||||
entry_template = entry_template.replace(
|
entry_template = entry_template.replace(
|
||||||
'rssItemTitle', rss_entry["title"])
|
'rssItemTitle', rss_entry["title"])
|
||||||
|
|
Loading…
Reference in a new issue