{% set portPath = craft.app.config.general.devMode ? 'http://localhost:3000/' : '/' %} {% set timestamp = craft.app.config.general.devMode ? date().timestamp : '' %} {% set contactPage = craft.entries({ section: 'contactUs' }).one() %} {% if not craft.app.config.general.devMode %} {% set expiry = now|date_modify('+180 days') %} {% header "Strict-Transport-Security: max-age=" ~ (expiry.timestamp - now.timestamp) %} {% header "X-Frame-Options: ALLOW-FROM https://screening.leftright.tv/" %} {% header "X-Frame-Options: ALLOW-FROM https://app.frame.io/" %} {% header "X-XSS-Protection: 1; mode=block" %} {% header "X-Content-Type-Options: nosniff" %} {% header "Referrer-Policy: same-origin" %} {% endif %} Left/Right {% if not craft.app.config.general.devMode %} {% endif %} {% block head %} {% if not craft.app.config.general.devMode %} {% endif %} {% endblock %} {% include 'modules/preloader/template.twig' %} {% include 'modules/page-transition/template.twig' %} {% include 'modules/work-overlay/template.twig' %} {% include 'modules/contact-overlay/template.twig' with { data: contactPage } %} {% include 'modules/navigation/template.twig' %}
{% block content %}{% endblock %}
{% block foot %} {% block beforeFoot %}{% endblock %} {% block afterFoot %}{% endblock %} {% endblock %}