diff --git a/src/_includes/global/navbar.njk b/src/_includes/global/navbar.njk new file mode 100644 index 00000000..deb83573 --- /dev/null +++ b/src/_includes/global/navbar.njk @@ -0,0 +1,69 @@ + + + + + \ No newline at end of file diff --git a/src/_includes/main/navbar.njk b/src/_includes/main/navbar.njk index eb99f205..3a4c718f 100644 --- a/src/_includes/main/navbar.njk +++ b/src/_includes/main/navbar.njk @@ -1,75 +1,13 @@ - +{% extends "global/navbar.njk" %} - - - \ No newline at end of file +{% block navbarLinks %} + {% set currentUrl %}{{ page.url }}{% endset %} + {% for page in collections.pages %} +