HTML files as page inputs

This commit is contained in:
2022-07-24 16:47:12 +02:00
parent 0c56516f89
commit 70bf67586e
4 changed files with 7 additions and 9 deletions

View File

@ -20,4 +20,5 @@ def PugCompileList(Pages):
Path = 'public/{}'.format(File)
WriteFile(Path, Content)
Paths += '"{}" '.format(Path)
os.system('pug -P {} > /dev/null'.format(Paths))
if Paths:
os.system('pug -P {} > /dev/null'.format(Paths))