feat: Add hx-push-url attribute to nav menu item

This commit is contained in:
Florian Briand 2024-08-19 19:34:34 +02:00
parent 04663295df
commit 09717c4ed2
Signed by: florian_briand
GPG Key ID: CC981B9E6B98E70B

View File

@ -5,6 +5,7 @@
hx-trigger="click"
hx-target="#main-container"
hx-swap="innerHTML"
hx-push-url="true"
class="{{ Self::get_classes(self, item.current) }}"
aria-current="{% if item.current %}page{% endif %}"
>