Show booshelf menu

This commit is contained in:
2023-10-02 23:16:54 +02:00
parent 98c696b2d9
commit 22bee7d95d
4 changed files with 23 additions and 9 deletions

View File

@@ -1,10 +1,10 @@
{% if menu %}
{% if flatpage_menu %}
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Articles
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
{% for m in menu %}
{% for m in flatpage_menu %}
<li><a class="dropdown-item" href="{{ m.get_absolute_url }}">{{ m.name }}</a></li>
{% endfor %}
</ul>