{% if title %}{{ title }}: {% endif %} {% for page in pages %} {{ page }} {% if not forloop.last %} |{% endif %} {% endfor %}