{% extends "_layouts/base" %} {# Give the body a .mobile class for mobile devices #} {% if craft.app.request.isMobileBrowser(true) %} {% set bodyClass = (bodyClass is defined and bodyClass ? bodyClass~' ' : '') ~ 'mobile' %} {% endif %} {% do view.registerTranslations('app', [ "Show", "Hide", ]) %} {% set localeData = craft.app.locale %} {% set orientation = localeData.getOrientation() %} {% block foot %}
{{ csrfInput() }}
{% js at head %} // Picture element HTML5 shiv document.createElement('picture'); {% endjs %} {% endblock %}