{% set containerId = containerId|default('GTM-XXXXXXX') %}<!doctype html><html lang="{{ app.request.locale }}"><head> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.1.0/dist/cookieconsent.css"> <script src="https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.1.0/dist/cookieconsent.umd.js"></script> <script type="module" src="{{ asset('/assets/js/cookieconsent-config.js') }}"></script> <script src="/misc/json-translation-website?language={{ app.request.locale }}" ></script> {{include('layout/head/links.html.twig')}} {% if not document is defined or not document %} {% set document = pimcore_document(1) %} {% endif %} {% if document is instanceof('\\Pimcore\\Model\\Document\\Link')%} {% set document = document.getObject() %} {% endif %} {% block SEO %} {% 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 %} {% endblock %} {% do pimcore_head_title().append('Bsn Marine Supply / Bsn Yachts') %} {% do pimcore_head_title().setSeparator('::') %} {% block layout_head_meta %} {{ pimcore_head_title() }} {{ pimcore_head_meta() }} {% endblock %} {% block head_stylesheets %} {{ pimcore_head_link() }} {% endblock %} {% set is_authenticated = is_granted('IS_AUTHENTICATED_FULLY') %} {% set api_sage = app.session.get('_token') %} {# document use to start in navigation | default home #} {% set navStartNode = document.getProperty('rootDocument') %} {% if not navStartNode is instanceof('\\Pimcore\\Model\\Document\\Page') %} {% if pimcore_site_is_request() %} {% set site = pimcore_site_current() %} {% set navStartNode = site.getRootDocument() %} {% else %} {% set navStartNode = pimcore_document(6) %} {% endif %} {% endif %} {# Get current path #} {% set currentRouteName = app.request.attributes.get('_route') %} {% if currentRouteName is not null and currentRouteName starts with 'new-password' %} {% set currentPath = '/new-password' %} {% elseif currentRouteName is not null and currentRouteName starts with 'new-user-password-setup' %} {% set currentPath = '/new-user-password-setup' %} {% elseif currentRouteName is not null %} {% set currentPath = path(currentRouteName) %} {% else %} {% set currentPath = '/' %} {# o cualquier valor predeterminado que desees usar en caso de que currentRouteName sea null #} {% endif %} {% if currentPath == '/' or currentPath == '/en'%} {% set isRoot = true%} {% else %} {% set isRoot = false %} {% endif %} {% if currentPath == '/' or currentPath == '/es' or currentPath == '/en' or currentPath == '/es/empresa' or currentPath == '/en/about-us' %} {% set dropDown = true%} {% else %} {% set dropDown = false %} {% endif %} {% set mainNavigation = pimcore_build_nav({active: document, root: navStartNode}) %} {% set menuRenderer = pimcore_nav_renderer('menu') %} {# end document use to start in navigation | default home #} {% block PAGE_CSS %} {% endblock %} {% set device = pimcore_device('desktop') %} <!-- Google Tag Manager (blocked by CookieConsent) --> <script type="text/plain" data-category="analytics" data-cc-src="https://www.googletagmanager.com/gtm.js?id={{ containerId }}"> </script> <!-- End Google Tag Manager --></head><body class="template-index template-product index-demo18 product-layout1">{% if dropDown %} {# NAVBAR-DROPDOWN #} <script src="{{ asset('/assets/js/navbar/navbar-dropdown.js') }}"></script> {# End NAVBAR-DROPDOWN #}{% endif %}<script src="{{ asset('/assets/js/navbar/navbar-search.js') }}"></script><script src="{{ asset('/assets/js/navbar/navbar-categories.js') }}"></script>{# Header #}{{ include("layout/includes/header.html.twig") }}{# End Header #}{# Page Wrapper #}<div class="page-wrapper"> {# Header wrap #} {# End Header wrap #} {# Mobile Menu #} {{ include("layout/includes/navegation/mobile.html.twig") }} {# End Mobile Menu #} {# Page Wrapper #} <div id="page-content"> {% block CONTENT %} {% endblock %} </div> {# End Body Container #} {# Footer #} {# {{ pimcore_inc('/es/snippets/footer') }}#} {{ pimcore_inc(document.getProperty('footer')) }} {# End Footer #} {# Scoll Top #} <span id="site-scroll" class="textbase" title="SCROLL UP">{{ "layout.scroll-up_translations" | trans }} <i class="an an-long-arrow-alt-right" aria-hidden="true"></i></span> {# End Scoll Top #} {# MiniCart Drawer #} {{ include("layout/includes/minicart/minicart-drawer.html.twig") }} {# End MiniCart Drawer #} <div class="modalOverly"></div> {# Quickview Popup #} {{ include("layout/includes/quickview-popup.html.twig") }} {# End Quickview Popup #} {# Addtocart Added Popup #} {{ include("layout/includes/add-to-cart-added-popup.html.twig") }} {# End Addtocart Added Popup #} {{ include("layout/javascriptCode/javascriptCode.html.twig")}}; {{ include('layout/includes/global-translations.html.twig') }}</div>{# End Page Wrapper #}{% block PAGE_JS %}{% endblock %}<button type="button" data-cc="show-preferencesModal" aria-label="{{ 'modal_cookie_manage'|trans }}" class="cookie-manage-btn"> <i class="fas fa-cookie-bite"></i></button></body></html>