feat: Add hx-push-url attribute to nav menu item
This commit is contained in:
parent
04663295df
commit
09717c4ed2
@ -5,6 +5,7 @@
|
|||||||
hx-trigger="click"
|
hx-trigger="click"
|
||||||
hx-target="#main-container"
|
hx-target="#main-container"
|
||||||
hx-swap="innerHTML"
|
hx-swap="innerHTML"
|
||||||
|
hx-push-url="true"
|
||||||
class="{{ Self::get_classes(self, item.current) }}"
|
class="{{ Self::get_classes(self, item.current) }}"
|
||||||
aria-current="{% if item.current %}page{% endif %}"
|
aria-current="{% if item.current %}page{% endif %}"
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user