{% apply 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('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;800;900&display=swap') %} {% do pimcore_head_link().appendStylesheet('https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css',null,null,{integrity:"sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3",crossorigin:"anonymous"}) %} {% do pimcore_head_link().appendStylesheet('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css') %} {% do pimcore_head_link().appendStylesheet(asset('static/css/style.css')) %} {% do pimcore_head_link().appendStylesheet(asset('static/css/responsive.css')) %} {% do pimcore_head_script().appendFile('https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js',null,null,{ integrity:"sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB",crossorigin:"anonymous"}) %} {% do pimcore_head_script().appendFile('https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js',null,null,{ integrity:"sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13",crossorigin:"anonymous"}) %} {# {% do pimcore_head_script().appendFile(asset('static/js/init.js')) %} #} {% 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('Assifact') %} {% do pimcore_head_title().setSeparator(' : ') %} {% set isPortal = ((isPortal is defined) and isPortal) %} {% endapply %} {# 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() }} {% if pimcore_placeholder('canonical').count() %} {% endif %} {% endblock %} {% block head_stylesheets deferred %} {{ pimcore_head_link() }} {% endblock %}
{# get root node if there is no document defined (for pages which are routed directly through static route) #} {% if not document is defined or not document %} {% set document = pimcore_document(1) %} {% endif %}