{# menu/top-navbar.html #} Logo {% for item in visible_items %} {# Changed from navigation_items to visible_items #} {# The tag already filters for top-level items, so parent_id check is removed #} {% if item.visible_children %} {# Simplified check: if there are visible children, it's a dropdown #} {# Parent Link - using get_url but defaulting to '#' if it's only a parent #} {{ item.title }} {% for child in item.visible_children %} {# Use get_url #} {{ child.title }} {% endfor %} {% else %} {# Use get_url #} {{ item.title }} {% endif %} {% endfor %} {# Removed embedded