{% if has_url %} {% if value.page %} {% firstof value.text value.page.title %} {% else %} {% firstof value.text value.url %} {% endif %} {% endif %}