diff --git a/example/footer b/example/footer new file mode 100644 index 0000000..8b8564c --- /dev/null +++ b/example/footer @@ -0,0 +1 @@ +[Privacy Policy](/privacy-policy) diff --git a/gsitegen/About.page b/gsitegen/About.page index e718280..f83d9a3 100644 --- a/gsitegen/About.page +++ b/gsitegen/About.page @@ -1 +1,5 @@ +> + + About page +ee diff --git a/gsitegen/Home.page b/gsitegen/Home.page index 758a5f4..97a5aa7 100644 --- a/gsitegen/Home.page +++ b/gsitegen/Home.page @@ -1,3 +1,6 @@ +> + + # Welcome! This is the homepage of our website..... > diff --git a/gsitegen/generate.py b/gsitegen/generate.py index 7cc4853..ac78d11 100644 --- a/gsitegen/generate.py +++ b/gsitegen/generate.py @@ -17,7 +17,14 @@ def generateNavigationBar(lines): #parse markdown if not rawhtml: - navbar = navbar.li(HTML(parseMarkdown(navbar, line))) + if ";" in line: + title, link = line.split(";", 1) + + #div class for styling + navbar = navbar(HTML("