mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-04 20:22:41 +00:00
12 lines
358 B
Plaintext
12 lines
358 B
Plaintext
{% extends "global/navbar.njk" %}
|
|
|
|
{% block navbarLinks %}
|
|
{% set currentUrl %}{{ page.url }}{% endset %}
|
|
{% set navPages = collections["navbar links"] | eleventyNavigation %}
|
|
{%- for entry in navPages %}
|
|
<li>
|
|
<a {% if entry.url == page.url %}aria-current="page"{% endif %} href="{{ entry.url }}">{{ entry.title }}</a>
|
|
</li>
|
|
{%- endfor %}
|
|
{% endblock %}
|