{% set p = icon_page | default(value=page) %} {% if p.extra.icon %} {% else %} {{ p.title | truncate(length=1, end="") | upper }} {% endif %}