{% if location is not defined %} {% set location = null %} {% endif %} {% if location.pathString is defined %} {% set title %}{{ render( controller( "AbxBaseBundle:Abx:showComponent", { 'name':'Title', 'parameters':{'pathString': location.pathString } } ) ) }}{% endset %} {% elseif content is defined %} {% set title %}{{ content.contentInfo.name }} / (location ID is #{{ location.id }}){% endset %} {% elseif title is not defined %} {% set title %}{{ name|default( 'Home' ) }}{% endset %} {% endif %} {% block meta_title %} {{ title }} {% endblock %} {% block meta_base %} {# #} {% endblock %} {% include 'AbxDesignBundle::parts/head.html.twig' %} {% set path_string = '' %} {% if location.pathString is defined %} {% set path_string = location.pathString %} {% endif %}
{# #} {{ render( controller( "AbxBaseBundle:Abx:showComponent", { 'name': 'TopMenu','parameters' : {'pathString': path_string, 'template': 'AbxDesignBundle:parts:responsive_menu.html.twig' } } ) ) }}
{% include 'AbxDesignBundle::parts/header.html.twig' %}
{% if location.pathString is defined and location.pathString|split('/')[3] != '' %}
{% include 'AbxDesignBundle::parts/search.html.twig' %}
{% endif %}
{% block content %}{% endblock %}
{% include 'AbxDesignBundle::parts/footer.html.twig' %}
{# Scripts used in all pages #} {% include 'AbxDesignBundle::parts/footer_script.html.twig' %} {# Extend this block to include unique necessary scripts #} {% block footer_script %}{% endblock %} {% include 'AbxBaseBundle::parts/google_analytics.html.twig' %}