diff --git a/Source/Modules/Feed.py b/Source/Modules/Feed.py index bcfc5fd..2daec8b 100644 --- a/Source/Modules/Feed.py +++ b/Source/Modules/Feed.py @@ -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)) diff --git a/Source/Modules/Sitemap.py b/Source/Modules/Sitemap.py new file mode 100644 index 0000000..f8fd541 --- /dev/null +++ b/Source/Modules/Sitemap.py @@ -0,0 +1,14 @@ +""" ================================= | +| This file is part of | +| staticoso | +| Just a simple Static Site Generator | +| | +| Licensed under the AGPLv3 license | +| Copyright (C) 2022, OctoSpacc | +| ================================= """ + +import urllib +from Modules.Utils import * + +def MakeSitemap(Pages, SiteName, SiteTagline, SiteDomain, MaxEntries, Lang, Minify=False): + return None # urllib.parse.quote(query)