mirror of
https://gitlab.com/octtspacc/staticoso
synced 2025-06-05 22:09:23 +02:00
Small improvements
This commit is contained in:
@ -63,7 +63,7 @@ def GetConfMenu(Entries, MarkdownExts):
|
||||
for i in Entries:
|
||||
e = Entries[i]
|
||||
if not ((e.startswith('<') or e.startswith('[') or e.startswith('- ')) and (e.endswith('>') or e.endswith(')') or e.endswith('}'))):
|
||||
if not (e.lower().endswith('.html') or e.lower().endswith('.htm')):
|
||||
if not e.lower().endswith(FileExtensions['HTML']):
|
||||
e += '.html'
|
||||
Menu[int(i)] = e
|
||||
return Menu
|
||||
|
Reference in New Issue
Block a user