{% for item in items %} {%- if not loop.first -%} ยป {%- endif -%} {%- if item.url -%} {{ item.title|truncate(40) }} {%- if item.icon -%} {%- endif -%} {%- else -%} {{ item.title|truncate(40) }} {%- if item.icon -%} {%- endif -%} {%- endif -%} {% endfor %}