{% with card_item=data.items.0 %} {{ card_item.text|safe }} {% endwith %}