Refactoring: Build.py/MakeSite(), and minor modules

This commit is contained in:
2023-02-23 17:05:36 +01:00
parent c35aa94345
commit f43026b13b
13 changed files with 254 additions and 171 deletions

View File

@ -11,7 +11,7 @@ from urllib.parse import quote as URLEncode
from Modules.HTML import *
from Modules.Utils import *
def MakeSitemap(Flags, Pages):
def MakeSitemap(Flags:dict, Pages:list):
Map = ''
Domain = Flags['SiteDomain'] + '/' if Flags['SiteDomain'] else ''
for File, Content, Titles, Meta, ContentHtml, SlimHtml, Description, Image in Pages: