mirror of https://gitlab.com/octtspacc/staticoso
Fix global menu
This commit is contained in:
parent
c0e394646b
commit
f62a26eb33
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue