Fix included Python-Markdown; Fix replacements with escape char

This commit is contained in:
2022-08-26 19:53:47 +02:00
parent 36db6c04ae
commit 9cf3bc3e27
6 changed files with 19 additions and 25 deletions

View File

@ -177,10 +177,6 @@ def Main(Args, FeedEntries):
FullSite=FeedType,
Minify=Minify)
if SitemapOut:
print("[I] Generating Sitemap")
MakeSitemap(OutputDir, Pages, SiteDomain)
if ActivityPub and MastodonURL and MastodonToken and SiteDomain:
print("[I] Mastodon Stuff")
MastodonPosts = MastodonShare(
@ -217,6 +213,10 @@ def Main(Args, FeedEntries):
print("[I] Cleaning Temporary Files")
DelTmp(OutputDir)
if SitemapOut:
print("[I] Generating Sitemap")
MakeSitemap(OutputDir, Pages, SiteDomain)
print("[I] Copying Assets")
os.system(f"cp -R Assets/* {OutputDir}/")