Allow a page to be excluded from feeds, + some minor tweaks

This commit is contained in:
2022-08-13 16:20:26 +02:00
parent b5fe32a2a0
commit 37e6da8f4f
5 changed files with 7 additions and 6 deletions

View File

@ -25,7 +25,7 @@ def MakeFeed(CategoryFilter, Pages, SiteName, SiteTagline, SiteDomain, MaxEntrie
DoPages = []
for e in Pages:
if FullSite or (not FullSite and MaxEntries != 0 and e[3]['Type'] == 'Post'): # No entry limit if site feed
if FullSite or (not FullSite and MaxEntries != 0 and e[3]['Type'] == 'Post' and e[3]['Feed'] == 'True'): # No entry limit if site feed
DoPages += [e]
MaxEntries -= 1
DoPages.reverse()