Use :: instead of ; for navbar (less conflicts). And update readme.

This commit is contained in:
2022-09-06 15:05:08 +03:00
parent 87bace72a1
commit 1f7ea6a327
3 changed files with 18 additions and 22 deletions

View File

@@ -30,8 +30,8 @@ def generateNavigationBar(lines, pagetitle):
#parse navigation bar (custom format)
if not rawhtml:
if ";" in line:
title, link = line.split(";", 1)
if "::" in line:
title, link = line.split("::", 1)
if line.strip().endswith("|"):
dropdown = True