{% load cms_tags menu_tags %}{% spaceless %}
{% for child in children %}
{% with children_slug=child.get_menu_title|slugify menu_options=child.menu_extension %}
{% comment %}Dropdown menu for children are only for page with index page
extension with a specific option enabled{% endcomment %}
{% if menu_options.allow_submenu and child.children %}
{% else %}
{{ child.get_menu_title }}
{% endif %}