{% endif %}
{% if show_custom_title and custom_title %}
<{{title_tags}}>{{custom_title|trans}}{{title_tags}}>
{% endif %}
{% if full_width_view %}
{% set current_column = 1 %}
{% set item_count = 0 %}
{% if nodes %}
{% endif %}
{% endif %}
{% for node in nodes %}
{% if full_width_view %}
{% set item_count = item_count + 1 %}
{% if item_count > num_items_per_column and current_column < num_columns %}
{% set current_column = current_column + 1 %}
{% set item_count = 1 %}
{% endif %}
{% endif %}
{{node.Image}}
{% if node.Inactive_Open_Tag %}
{{node.Inactive_Open_Tag}}
{% endif %}
{{node.Hyperlink}}
{% if node.Inactive_Close_Tag %}
{{node.Inactive_Close_Tag}}
{% endif %}
{% if node.children %}
{{ self.childNodes(node.children) }}
{% endif %}
{% endfor %}
{% if full_width_view and nodes %}
{# If there aren't enough menu nodes, add dummy divs to draw the required number of columns. #}
{% if current_column < num_columns %}
{% for i in current_column..(num_columns - 1) %}
{% endfor %}
{% endif %}