vac.dev-experimental-old/_includes/nav-item.html

12 lines
318 B
HTML
Raw Normal View History

2021-08-05 16:00:06 +00:00
<li class="hover:opacity-50">
2021-08-06 13:39:12 +00:00
{% if nav.type == "local" %}
<a class="nav__link" href="{{site.url}}{{ site.baseurl }}{{ nav.link }}"
>{{ nav.title }}</a
>
{% elsif nav.type == "external" %}
2021-08-05 15:44:08 +00:00
<a href="{{ nav.link }}" target="_blank" rel="noopener noreferrer"
>{{ nav.title }}</a
>
2021-08-05 16:00:06 +00:00
{% endif %}
2021-08-04 15:48:52 +00:00
</li>