django-blog-for-html-over-t.../app/website/templates/components/_nav.html

20 lines
507 B
HTML
Raw Permalink Normal View History

2022-05-15 20:58:36 +02:00
<ul class="nav__ul">
<li>
<a
href="#"
class="nav__link nav__link--page{% if active_nav == "all posts" %} active{% endif %}"
data-target="all posts"
>
All posts
</a>
</li>
<li>
<a
href="#"
class="nav__link nav__link--page{% if active_nav == "about us" %} active{% endif %}"
data-target="about us"
>
About us
</a>
</li>
</ul>