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