Krys4lide/crates/app/templates/layout/nav/nav-menu-items.html

13 lines
305 B
HTML
Raw Permalink Normal View History

{% for item in items %}
<a
href=""
hx-get="{{ item.href }}"
hx-trigger="click"
hx-target="#main-container"
hx-swap="innerHTML"
class="{{ Self::get_classes(self, item.current) }}"
aria-current="{% if item.current %}page{% endif %}"
>
{{ item.label }}
</a>
{% endfor %}