templates/layouts/mazdashop.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.   <head>
  4.     {% block admin_header %}{% endblock %}
  5.     <title>{% block title %}Welkom{% endblock %} - {% block sitetitle %}Website{% endblock %}{% if Settings.tagline is not empty %} | {{Settings.tagline}}{% endif %}</title>
  6.     {% block stylesheets %}{% endblock %}
  7.     {% include '/mazdashop/header_css.html.twig' %}
  8.     {# {% include '/mazdashop/header_scripts.html.twig' %} #}
  9.   </head>
  10.   <body class="{% if Settings.headerBar %}has-topbar{% endif %} shop-{{bodyClass is defined ? bodyClass : ''}}">
  11.     {% if Settings.headerBar %}
  12.     <!-- custom topbar -->
  13.     <section class="topbar fixed">
  14.       <div class="container">
  15.         <div class="left">
  16.           {{ Settings.headerBarLeft|raw }}
  17.         </div>
  18.         <div class="right">
  19.           {% if Settings.language.getLocale == 'nl' %}
  20.             <p><a href="/zoeken"><i class="fa fa-search"></i> Zoeken</a></p>
  21.           {% endif %}
  22.           {% if Settings.language.getLocale == 'de' %}
  23.             <p><a href="/suchen"><i class="fa fa-search"></i> Suchen</a></p>
  24.           {% endif %}
  25.           {% if Settings.language.getLocale == 'gb' %}
  26.             <p><a href="/search"><i class="fa fa-search"></i> Search</a></p>
  27.           {% endif %}
  28.           {#
  29.           {% if app.user %}
  30.             <a href="/mijn-account/mijn-account">Mijn account</a>
  31.             &nbsp;|&nbsp;
  32.             <a href="/logout">Uitloggen</a>
  33.           {% else %}
  34.             <a href="/mijn-account">Inloggen / Registreren</a>
  35.           {% endif %}
  36.           #}
  37.           
  38.         </div>
  39.       </div>
  40.     </section>
  41.     <!-- end custom topbar -->
  42.     {% endif %}
  43.     {% include '/mazdashop/nav.html.twig' %}
  44.     {#
  45.     <!-- breadcrumbs -->
  46.     {% if Page.optionBreadcrumbs %}
  47.       <section class="breadcrumbs">
  48.         <div class="container">
  49.           {{breadcrumbs(Page)}}
  50.         </div>
  51.       </section>
  52.     {% endif %}
  53.     <!-- end breadcrumbs -->
  54.     #}
  55.     <!-- titlebar -->
  56.     {% if Page.optionTitle or Page.optionSubtitle %}
  57.       {% if Page.image %}
  58.       <section class="titlebar" style="background: url(/{{ Page.image.getWebPath }}) no-repeat center; background-size: cover;">
  59.       {% else %}
  60.       <section class="titlebar">
  61.       {% endif %}
  62.         <div class="container">
  63.           {% if Page.optionTitle %}
  64.             <h1>{{ Page.title }}</h1>
  65.           {% endif %}
  66.           {% if Page.optionSubtitle %}
  67.             <h2>{{ Page.subtitle }}</h2>
  68.           {% endif %}
  69.         </div>
  70.       </section>
  71.     {% endif %}
  72.     <!-- end titlebar -->
  73.     <!-- subnavbar -->
  74.     {% if Page.optionSubnavigation %}
  75.       <section class="subnavbar">
  76.         <div class="container">
  77.           {{cms_navigation('','',true, true, 0, 0, 2)}}
  78.         </div>
  79.       </section>
  80.     {% endif %}
  81.     <!-- end subnavbar -->
  82.     {{pageblocks(Page, app.request.locale, '')}}
  83.     {% block plain_body %}{% endblock %}
  84.     {% include '/mazdashop/footer.html.twig' with {
  85.       Settings : Settings
  86.     } %}
  87.     {# {% include '/mazdashop/footer_scripts.html.twig' %} #}
  88.     {% block admin_footer %}{% endblock %}
  89.     {% block javascripts %}{% endblock %}
  90.   </body>
  91. </html>