Change nav paths
This commit is contained in:
parent
967c77e73a
commit
1e81cfcbe4
13
_config.yml
13
_config.yml
|
@ -1,8 +1,7 @@
|
||||||
title: Vac
|
title: Vac
|
||||||
description: VAC researches peer-to-peer, private, censorship resistant communication.
|
description: VAC researches peer-to-peer, private, censorship resistant communication.
|
||||||
baseurl: ""
|
baseurl: ''
|
||||||
url: "https://status-vac.netlify.app/"
|
url: 'https://vac.dev'
|
||||||
# url: "https://vac.dev"
|
|
||||||
|
|
||||||
exclude:
|
exclude:
|
||||||
- Gemfile
|
- Gemfile
|
||||||
|
@ -24,11 +23,11 @@ collections:
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
- scope:
|
- scope:
|
||||||
path: "assets/img"
|
path: 'assets/img'
|
||||||
values:
|
values:
|
||||||
image: true
|
image: true
|
||||||
- scope:
|
- scope:
|
||||||
path: ""
|
path: ''
|
||||||
type: "authors"
|
type: 'authors'
|
||||||
values:
|
values:
|
||||||
layout: "author"
|
layout: 'author'
|
||||||
|
|
|
@ -1,28 +1,28 @@
|
||||||
---
|
---
|
||||||
- title: "Work"
|
- title: 'Work'
|
||||||
link: "#work"
|
link: '/#work'
|
||||||
type: local
|
type: local
|
||||||
|
|
||||||
- title: "About"
|
- title: 'About'
|
||||||
link: "#about"
|
link: '/#about'
|
||||||
type: local
|
type: local
|
||||||
|
|
||||||
- title: "Join VAC"
|
- title: 'Join VAC'
|
||||||
link: "#join"
|
link: '/#join'
|
||||||
type: local
|
type: local
|
||||||
|
|
||||||
- title: "Research log"
|
- title: 'Research log'
|
||||||
link: "research-log"
|
link: '/research-log'
|
||||||
type: local
|
type: local
|
||||||
|
|
||||||
- title: "Media"
|
- title: 'Media'
|
||||||
link: "media"
|
link: '/media'
|
||||||
type: local
|
type: local
|
||||||
|
|
||||||
- title: "Specs"
|
- title: 'Specs'
|
||||||
link: "https://specs.vac.dev"
|
link: 'https://specs.vac.dev'
|
||||||
type: external
|
type: external
|
||||||
|
|
||||||
- title: "Forum"
|
- title: 'Forum'
|
||||||
link: "https://forum.vac.dev/"
|
link: 'https://forum.vac.dev/'
|
||||||
type: external
|
type: external
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
<li class="hover:opacity-50">
|
<li class="hover:opacity-50">
|
||||||
{% if nav.type == "local" %}
|
{% if nav.type == "local" %}
|
||||||
<a class="nav__link" href="{{site.url}}{{ site.baseurl }}{{ nav.link }}"
|
<a class="nav__link" href="{{ nav.link }}">{{ nav.title }}</a>
|
||||||
>{{ nav.title }}</a
|
|
||||||
>
|
|
||||||
{% elsif nav.type == "external" %}
|
{% elsif nav.type == "external" %}
|
||||||
<a href="{{ nav.link }}" target="_blank" rel="noopener noreferrer"
|
<a href="{{ nav.link }}" target="_blank" rel="noopener noreferrer"
|
||||||
>{{ nav.title }}</a
|
>{{ nav.title }}</a
|
||||||
|
|
Loading…
Reference in New Issue