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