refacto: rename html and rs templates dirs to old_*
This commit is contained in:
14
crates/app/old_templates/layout/nav/nav-menu-items.html
Normal file
14
crates/app/old_templates/layout/nav/nav-menu-items.html
Normal file
@ -0,0 +1,14 @@
|
||||
{% for item in items %}
|
||||
<a
|
||||
href=""
|
||||
hx-get="{{ item.href }}"
|
||||
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 %}"
|
||||
>
|
||||
{{ item.label }}
|
||||
</a>
|
||||
{% endfor %}
|
Reference in New Issue
Block a user