{% spaceless -%} {# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #} {# we use the view helper to have cache buster functionality #} {% do pimcore_head_link().appendStylesheet(asset('static/bootstrap/css/bootstrap.css')) %} {% do pimcore_head_link().appendStylesheet(asset('static/css/global.css')) %} {% do pimcore_head_link().appendStylesheet(asset('static/lib/video-js/video-js.min.css'), 'screen') %} {% do pimcore_head_link().appendStylesheet(asset('static/lib/magnific/magnific.css'), 'screen') %} {% do pimcore_head_link().appendStylesheet(asset('static/bootstrap/css/bootstrap.css')) %} {% do pimcore_head_link().appendStylesheet(asset('static/css/print.css'), 'print') %} {% if editmode %} {% do pimcore_head_link().appendStylesheet(asset('static/css/editmode.css')) %} {% endif %} {% do pimcore_head_script().appendFile(asset('static/js/jquery-1.11.0.min.js')) %} {% do pimcore_head_script().appendFile(asset('static/bootstrap/js/bootstrap.js')) %} {% do pimcore_head_script().appendFile(asset('static/lib/magnific/magnific.js')) %} {% do pimcore_head_script().appendFile(asset('static/lib/video-js/video.js')) %} {% do pimcore_head_script().appendFile(asset('static/js/srcset-polyfill.min.js')) %} {% set isPortal = ((isPortal is defined) and isPortal) %} {% if not document is defined or not document %} {% set document = pimcore_document(1) %} {% endif %} {% if document is instanceof('\\Pimcore\\Model\\Document\\Link') %} {# @var document \Pimcore\Model\Document\Link #} {% set document = document.getObject() %} {% endif %} {% if document.getTitle() is not empty %} {% do pimcore_head_title().set(document.getTitle()) %} {% endif %} {% if document.getDescription() is not empty %} {% do pimcore_head_meta().setDescription(document.getDescription()) %} {% endif %} {% do pimcore_head_title().append('pimcore Demo') %} {% do pimcore_head_title().setSeparator(' : ') %} {%- endspaceless %} {# we're using the deferred extension here to make sure this block is rendered after all helper calls #} {% block layout_head_meta deferred %} {{ pimcore_head_title() }} {{ pimcore_head_meta() }} {% endblock %} {% block head_stylesheets deferred %} {{ pimcore_head_link() }} {% endblock %} {% block head_ie_stylesheets %} {% endblock %} {% if isPortal %} {{ block('content') }} {% else %} {{ include('Includes/jumbotron.html.twig') }}
{% set hideLeftNav = false %} {% set showBreadcrumbs = true %} {% set mainColClass = hideLeftNav ? 'col-md-12': 'col-md-9 col-md-push-3' %}
{{ block('content') }} {% if showBreadcrumbs %} {% do pimcore_nav_renderer('breadcrumbs').setMinDepth(null) %} {% endif %}
{% if not hideLeftNav %} {% endif %}
{% endif %} {# include a document-snippet - in this case the footer document #} {{ pimcore_inc('/' ~ app.request.locale ~ '/shared/includes/footer') }} {# output scripts added before #} {% block scripts deferred %} {{ pimcore_head_script() }} {% endblock %}