Test RSS for sitemap

This commit is contained in:
2022-07-13 15:46:40 +02:00
parent 55647f0ad0
commit 3f5534904d
2 changed files with 15 additions and 1 deletions

View File

@ -51,7 +51,7 @@ def MakeFeed(Pages, SiteName, SiteTagline, SiteDomain, MaxEntries, Lang, FullMap
Entry.updated(EditedOn)
if FullMap:
Feed.atom_file('public/sitemap.xml', pretty=(not Minify))
Feed.rss_file('public/sitemap.xml', pretty=(not Minify))
else:
os.mkdir('public/feed')
Feed.atom_file('public/feed/atom.xml', pretty=(not Minify))