2024-08-05 00:15:28 +02:00
|
|
|
{% for item in items %}
|
|
|
|
<a
|
2024-08-06 00:18:09 +02:00
|
|
|
href=""
|
|
|
|
hx-get="{{ item.href }}"
|
|
|
|
hx-trigger="click"
|
|
|
|
hx-target="#main-container"
|
|
|
|
hx-swap="innerHTML"
|
2024-08-19 19:34:34 +02:00
|
|
|
hx-push-url="true"
|
2024-08-05 00:15:28 +02:00
|
|
|
class="{{ Self::get_classes(self, item.current) }}"
|
|
|
|
aria-current="{% if item.current %}page{% endif %}"
|
|
|
|
>
|
|
|
|
{{ item.label }}
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|