{# We originally called this page 'layout.html'. However there seems to be a bug with Dallinger #} {# whereby it is not possible to override the built-in layout.html using the extra_files method. #} {# We therefore have to give this base template a different name. We should investigate this bug further. #} {% extends "base/layout.html" %} {% import "macros/head.html" as psynet_head %} {% block head %} {{ super() }} {{ psynet_head.viewport() }} {% endblock %} {# Includes must live inside a block. A top-level include in a child template is emitted before , which puts the whole document into quirks mode. #} {% block stylesheets %} {{ super() }} {% include "theme.html" %} {% endblock %} {% block scripts %} {{ super() }} {% if participant is defined %} {% endif %} {% endblock %}