{# BASE TEMPLATE FOR ALL TEMPLATES #} {% block head %} {{ title is empty ? SITE_NAME : title }} {% if noindex %}{% endif %} {% if canonical is not empty %}{% endif %} {% if next is not empty %}{% endif %} {% if prev is not empty %}{% endif %} {% block stylesheet %} {% if DEVELOPMENT_ENVIRONMENT and TMP_CSS %} {% set cssFiles = getNameFilesDir(PUBLIC_CSS_TMP_DIR) %} {% for cssFile in cssFiles | sort %} {% endfor %} {% else %} {% set cssFileDate = filemtime(BASE_URL ~ 'css/' ~ (CSS_NAME is defined ? CSS_NAME : "style.css")) %} {% endif %} {% endblock stylesheet %} {% block headjavascript %}{% endblock headjavascript %} {% endblock head %} {% block wrapper %} {% block bannerback %}{% endblock bannerback %}
{% block header %}
{% block logo %} {% endblock logo %} {% if canalData[0].type == 'content' %} {% set typeData = { 'image': 'content-marketing-logo.png', 'title': 'CONTENT Marketing', 'color': '#e51d3c', 'button': 'bMainFade' } %} {% elseif canalData[0].type == 'search' %} {% set typeData = { 'image': 'search-marketing-logo.png', 'title': 'SEARCH Marketing', 'color': '#39c1cf', 'button': 'bMainFade' } %} {% elseif canalData[0].type == 'push' %} {% set typeData = { 'image': 'push-marketing-logo.png', 'title': 'PUSH Marketing', 'color': '#70b966', 'button': 'bMainFade' } %} {% elseif canalData[0].type == 'event' %} {% set typeData = { 'image': 'events-logo.png', 'title': 'EVENTS', 'color': '#904098', 'button': 'bMainFade' } %} {% elseif canalData[0].type == 'social' %} {% set typeData = { 'image': 'social-logo.png', 'title': 'SOCIAL Media', 'color': '#faa75b', 'button': 'bMainFade' } %} {% else %} {% set typeData = { 'image': '', 'title': '', 'color': '', 'button': 'bMainFade' } %} {% endif %} {% block canal %} {{ render("mediakit","frontend","widgetCanal", {'typeData':typeData} ) }} {% endblock canal %} {% block pdfmedia %} PDF {# PDF PDF FLIP FLOP #} {% endblock pdfmedia %} {% if CATEGORY_BUNDLE and SESSION.userData.signed %} {% block mainmenu %} {% endblock mainmenu %} {% endif %} {% block topMenu %}
{{ render("category","frontend","widgetCategoryMenu",{'family_id': 10}) }}
{% endblock %} {% if MULTI_LANG %} {% block lang %}
    {% for k,v in SESSION.langs %}
  • {{ v }}
  • {{ loop.last ? '' : '
  • ·
  • ' }} {% endfor %}
{% endblock lang %} {% endif %}
{% block type %}
{% endblock %}
{% endblock header %} {% block main %} {% block slider %}{% endblock %} {% block breadCrumbs %}
{% endblock breadCrumbs %} {% if oneColumn %}
{% block oneOne %} One Column - Column One {% endblock oneOne %}
{% elseif twoColumn %}
{% block twoOne %} Two column - Column One {% endblock twoOne %}
{% elseif threeColumn %}
{% block threeOne %} Three column - Column One {% endblock threeOne %}
{% endif %}
{% endblock main %} {% block footer %} {% endblock footer %} {% block absolute %} {% endblock absolute %}
{% endblock wrapper %} {% block javascript %} {% if DEVELOPMENT_ENVIRONMENT and TMP_JS %} {% set jsFiles = getNameFilesDir(PUBLIC_JS_TMP_DIR) %} {% for jsFile in jsFiles | sort %} {% endfor %} {% else %} {% set jsFileDate = filemtime(BASE_DIR ~ 'js/' ~ (JS_NAME is defined ? JS_NAME : "javascript.js")) %} {% endif %} {% endblock javascript %} {% if DEVELOPMENT_ENVIRONMENT %} {% block debugBar %} {{ render('index','index','debugBar') }} {% endblock debugBar %} {% endif %} {% if ANALYTICS_ACCOUNT %} {% block analytics %} {% endblock analytics %} {% endif %}