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

10 lines
280 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" %}
2021-08-10 10:26:13 +00:00
<a class="nav__link" href="{{ nav.link }}">{{ nav.title }}</a>
2021-08-06 13:39:12 +00:00
{% 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>