You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no special kind of nav tag. So you should generate it manually like:
{% for p in: index.children.find_all_by(hidden: false published: true) do: %}
<li class="nav-item">
<a class="nav-link" href="/{{ p.fullpath }}">{{ p.title }}</a>
{% if !is_empty(p.children) then: %}
<ul>
{% for subchild in: p.children.find_all_by(published: true hidden: false) do: %}
...
{% end for %}
</ul>
{% end if %}
</li>
{% end for %}
And etc. (I guess there's almost no menu in the world with more than 3 levels)
Can you help me To figure out How can i make submenus work.
Here is My Nav codes
Using Above codes the sub pages are not showing on navigation.
Thanks in advance
The text was updated successfully, but these errors were encountered: