This commit is contained in:
Anish Lakhwara 2023-04-03 00:02:21 +10:00
parent cb3ce3924d
commit e9dce2fe13

View file

@ -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"])