Support no navigation bar properly

This commit is contained in:
Govindas 2022-01-21 12:27:47 +02:00
parent f9c2e1271b
commit 09acb1a9fc
1 changed files with 2 additions and 0 deletions

View File

@ -49,3 +49,5 @@ for file in os.listdir("./"):
with open("./website-output" + foldername + "/index.html", 'w') as newpage:
if navbarfound:
newpage.write("<ul>" + navbar + "</ul>" + str(doc))
else:
newpage.write(str(doc))