Fix global menu

This commit is contained in:
octospacc 2022-07-28 23:33:13 +02:00
parent c0e394646b
commit f62a26eb33
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ def GetConfMenu(Entries, MarkdownExts):
Menu += [[]]
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.startswith('<') or e.startswith('[') or e.startswith('- ')) and (e.endswith('>') or e.endswith(')') or e.endswith('}'))):
if not e.lower().endswith('.html'):
e += '.html'
Menu[int(i)] = e