{% load i18n wagtailcore_tags %} {% with details=page.detail %} {% if page.open_round %} {% endif %} {% endwith %}