mirror of
https://github.com/vacp2p/vac.dev-experimental-old.git
synced 2025-01-23 12:08:57 +00:00
Extract navigation to jekyll
This commit is contained in:
parent
cf8a8b7ac1
commit
003a92fa8c
28
_data/navigation.yml
Normal file
28
_data/navigation.yml
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
- title: "Work"
|
||||
link:
|
||||
path: "#work"
|
||||
|
||||
- title: "About"
|
||||
link:
|
||||
path: "#about"
|
||||
|
||||
- title: "Join VAC"
|
||||
link:
|
||||
path: "#join"
|
||||
|
||||
- title: "Research log"
|
||||
link:
|
||||
path: "#research-log"
|
||||
|
||||
- title: "Media"
|
||||
link:
|
||||
path: "#media"
|
||||
|
||||
- title: "Specs"
|
||||
link: "https://specs.vac.dev"
|
||||
path:
|
||||
|
||||
- title: "Forum"
|
||||
link: "https://forum.vac.dev/"
|
||||
path:
|
@ -71,51 +71,19 @@
|
||||
l:p-0
|
||||
"
|
||||
>
|
||||
{% for nav in site.data.navigation %}
|
||||
<li class="hover:opacity-50">
|
||||
<a class="nav__link" href="{{site.url}}{{ site.baseurl }}/#work"
|
||||
>Work</a
|
||||
>
|
||||
</li>
|
||||
<li class="hover:opacity-50">
|
||||
<a class="nav__link" href="{{site.url}}{{ site.baseurl }}/#about"
|
||||
>About</a
|
||||
>
|
||||
</li>
|
||||
<li class="hover:opacity-50">
|
||||
<a class="nav__link" href="{{site.url}}{{ site.baseurl }}/#join"
|
||||
>Join VAC</a
|
||||
>
|
||||
</li>
|
||||
<li class="hover:opacity-50">
|
||||
{% if nav.path %}
|
||||
<a
|
||||
class="nav__link-internal"
|
||||
href="{{site.url}}{{ site.baseurl }}/research-log"
|
||||
>Research log</a
|
||||
>
|
||||
</li>
|
||||
<li class="hover:opacity-50">
|
||||
<a
|
||||
class="nav__link-internal"
|
||||
href="{{site.url}}{{ site.baseurl }}/media"
|
||||
>Media</a
|
||||
>
|
||||
</li>
|
||||
<li class="hover:opacity-50">
|
||||
<a
|
||||
class="nav__link-external"
|
||||
href="https://specs.vac.dev"
|
||||
target="_blank"
|
||||
>Specs</a
|
||||
>
|
||||
</li>
|
||||
<li class="hover:opacity-50">
|
||||
<a
|
||||
class="nav__link-external"
|
||||
href="https://forum.vac.dev/"
|
||||
target="_blank"
|
||||
>Forum</a
|
||||
class="nav__link"
|
||||
href="{{site.url}}{{ site.baseurl }}/{{ nav.path }}"
|
||||
>{{ nav.title }}</a
|
||||
>
|
||||
{% endif %} {% if nav.link %}
|
||||
<a href="{{ nav.link }}" target="_blank">{{ nav.title }}</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
@ -174,51 +142,19 @@
|
||||
font-normal
|
||||
"
|
||||
>
|
||||
{% for nav in site.data.navigation %}
|
||||
<li class="leading-loose hover:opacity-50">
|
||||
<a class="nav__link" href="{{site.url}}{{ site.baseurl }}/#work"
|
||||
>Work</a
|
||||
>
|
||||
</li>
|
||||
<li class="leading-loose hover:opacity-50">
|
||||
<a class="nav__link" href="{{site.url}}{{ site.baseurl }}/#about"
|
||||
>About</a
|
||||
>
|
||||
</li>
|
||||
<li class="leading-loose hover:opacity-50">
|
||||
<a class="nav__link" href="{{site.url}}{{ site.baseurl }}/#join"
|
||||
>Join VAC</a
|
||||
>
|
||||
</li>
|
||||
<li class="leading-loose hover:opacity-50">
|
||||
{% if nav.path %}
|
||||
<a
|
||||
class="nav__link-internal"
|
||||
href="{{site.url}}{{ site.baseurl }}/research-log/"
|
||||
>Research log</a
|
||||
>
|
||||
</li>
|
||||
<li class="leading-loose hover:opacity-50">
|
||||
<a
|
||||
class="nav__link-internal"
|
||||
href="{{site.url}}{{ site.baseurl }}/media"
|
||||
>Media</a
|
||||
>
|
||||
</li>
|
||||
<li class="leading-loose hover:opacity-50">
|
||||
<a
|
||||
class="nav__link-external"
|
||||
href="https://specs.vac.dev"
|
||||
target="_blank"
|
||||
>Specs</a
|
||||
>
|
||||
</li>
|
||||
<li class="leading-loose hover:opacity-50">
|
||||
<a
|
||||
class="nav__link-external"
|
||||
href="https://forum.vac.dev/"
|
||||
target="_blank"
|
||||
>Forum</a
|
||||
class="nav__link"
|
||||
href="{{site.url}}{{ site.baseurl }}/{{ nav.path }}"
|
||||
>{{ nav.title }}</a
|
||||
>
|
||||
{% endif %} {% if nav.link %}
|
||||
<a href="{{ nav.link }}" target="_blank">{{ nav.title }}</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<ul class="social items-center flex mt-8">
|
||||
{% include social.html %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user