From 1e81cfcbe4635364c04ebb5661917d545e8c9e47 Mon Sep 17 00:00:00 2001 From: Maria Rushkova Date: Tue, 10 Aug 2021 12:26:13 +0200 Subject: [PATCH] Change nav paths --- _config.yml | 13 ++++++------- _data/navigation.yml | 28 ++++++++++++++-------------- _includes/nav-item.html | 4 +--- 3 files changed, 21 insertions(+), 24 deletions(-) diff --git a/_config.yml b/_config.yml index 6dab0e4..aed1d81 100644 --- a/_config.yml +++ b/_config.yml @@ -1,8 +1,7 @@ title: Vac description: VAC researches peer-to-peer, private, censorship resistant communication. -baseurl: "" -url: "https://status-vac.netlify.app/" -# url: "https://vac.dev" +baseurl: '' +url: 'https://vac.dev' exclude: - Gemfile @@ -24,11 +23,11 @@ collections: defaults: - scope: - path: "assets/img" + path: 'assets/img' values: image: true - scope: - path: "" - type: "authors" + path: '' + type: 'authors' values: - layout: "author" + layout: 'author' diff --git a/_data/navigation.yml b/_data/navigation.yml index 4f4e870..757107e 100644 --- a/_data/navigation.yml +++ b/_data/navigation.yml @@ -1,28 +1,28 @@ --- -- title: "Work" - link: "#work" +- title: 'Work' + link: '/#work' type: local -- title: "About" - link: "#about" +- title: 'About' + link: '/#about' type: local -- title: "Join VAC" - link: "#join" +- title: 'Join VAC' + link: '/#join' type: local -- title: "Research log" - link: "research-log" +- title: 'Research log' + link: '/research-log' type: local -- title: "Media" - link: "media" +- title: 'Media' + link: '/media' type: local -- title: "Specs" - link: "https://specs.vac.dev" +- title: 'Specs' + link: 'https://specs.vac.dev' type: external -- title: "Forum" - link: "https://forum.vac.dev/" +- title: 'Forum' + link: 'https://forum.vac.dev/' type: external diff --git a/_includes/nav-item.html b/_includes/nav-item.html index b270147..0989459 100644 --- a/_includes/nav-item.html +++ b/_includes/nav-item.html @@ -1,8 +1,6 @@
  • {% if nav.type == "local" %} - {{ nav.title }} + {{ nav.title }} {% elsif nav.type == "external" %} {{ nav.title }}