mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-05 11:02:41 +00:00
11 lines
387 B
Plaintext
11 lines
387 B
Plaintext
{% extends "global/navbar.njk" %}
|
|
|
|
{% block navbarLinks %}
|
|
{% set currentUrl %}{{ page.url }}{% endset %}
|
|
{% set navPages = collections.pages | 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 %} |