diff --git a/_data/navigation.yml b/_data/navigation.yml index 51ac520..4f4e870 100644 --- a/_data/navigation.yml +++ b/_data/navigation.yml @@ -1,28 +1,28 @@ --- - title: "Work" - link: - path: "#work" + link: "#work" + type: local - title: "About" - link: - path: "#about" + link: "#about" + type: local - title: "Join VAC" - link: - path: "#join" + link: "#join" + type: local - title: "Research log" - link: - path: "#research-log" + link: "research-log" + type: local - title: "Media" - link: - path: "#media" + link: "media" + type: local - title: "Specs" link: "https://specs.vac.dev" - path: + type: external - title: "Forum" link: "https://forum.vac.dev/" - path: + type: external diff --git a/_includes/nav-item.html b/_includes/nav-item.html index c85416d..b270147 100644 --- a/_includes/nav-item.html +++ b/_includes/nav-item.html @@ -1,7 +1,9 @@
  • - {% if nav.path %} - {{ nav.title }} - {% endif %} {% if nav.link %} + {% if nav.type == "local" %} + {{ nav.title }} + {% elsif nav.type == "external" %} {{ nav.title }}