mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-05 11:52:40 +00:00
16 lines
655 B
Plaintext
16 lines
655 B
Plaintext
{% extends "global/navbar.njk" %}
|
|
|
|
{% block navbarLinks %}
|
|
{% set shrineHomeUrl %}/shrines/cassettebeasts/{% endset %}
|
|
{% set navPages = collections.all | eleventyNavigation("Cassette Beasts Shrine") %}
|
|
{% set currentUrl %}{{ page.url }}{% endset %}
|
|
<li>
|
|
<a {% if currentUrl === shrineHomeUrl %}aria-current="page"{% endif %} href="{{ shrineHomeUrl }}">Shrine Home</a>
|
|
</li>
|
|
{%- for entry in navPages %}
|
|
<li>
|
|
<a {% if entry.url == page.url %}aria-current="page"{% endif %} href="{{ entry.url }}">{{ entry.title }}</a>
|
|
</li>
|
|
{%- endfor %}
|
|
<li><a href="/">Main Site</a></li>
|
|
{% endblock %} |