Change nav paths
This commit is contained in:
parent
967c77e73a
commit
1e81cfcbe4
13
_config.yml
13
_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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
<li class="hover:opacity-50">
|
||||
{% if nav.type == "local" %}
|
||||
<a class="nav__link" href="{{site.url}}{{ site.baseurl }}{{ nav.link }}"
|
||||
>{{ nav.title }}</a
|
||||
>
|
||||
<a class="nav__link" href="{{ nav.link }}">{{ nav.title }}</a>
|
||||
{% elsif nav.type == "external" %}
|
||||
<a href="{{ nav.link }}" target="_blank" rel="noopener noreferrer"
|
||||
>{{ nav.title }}</a
|
||||
|
|
Loading…
Reference in New Issue