mirror of
https://gitlab.com/octtspacc/staticoso
synced 2025-06-05 22:09:23 +02:00
Filename as title for untitled pages, title attr. adition, add TXT input pages + file formats fixes
This commit is contained in:
@ -16,7 +16,7 @@ def PugCompileList(Pages):
|
||||
# Pug-cli seems to shit itself with folder paths as input, so we pass ALL the files as arguments
|
||||
Paths = ''
|
||||
for File, Content, Titles, Meta in Pages:
|
||||
if File.endswith('.pug'):
|
||||
if File.lower().endswith('.pug'):
|
||||
Path = 'public/{}'.format(File)
|
||||
WriteFile(Path, Content)
|
||||
Paths += '"{}" '.format(Path)
|
||||
|
Reference in New Issue
Block a user