Skip to content

Commit

Permalink
Merge pull request #87 from hamza-jutt/mobile-menu-fix
Browse files Browse the repository at this point in the history
create all nested nav items in navbar on mobile
  • Loading branch information
ybashir authored Mar 27, 2018
2 parents 1a7c348 + 6d26918 commit 0c39039
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions theme/templates/pages/menus/mobile.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
{% if page.in_menu %}
<li class="{% if page.is_current_or_ascendant %}active{% endif %}">
<a href="{{ page.get_absolute_url }}">{{ page.title }}</a>
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
</li>
{% endif %}
{% endfor %}
Expand Down

0 comments on commit 0c39039

Please sign in to comment.