{% set isTop = type == 'top' %}{% set text = isTop ? seo_top() : seo_footer() %}{# {% set isBottom = type == 'bottom' %} #}{% set noindex = noindex ? noindex : false %}{# {% set crawlerDetect = app.request.headers.get('X-Detected-Crawler') == 'google' or app.request.host matches '/^g[a-z0-9]+\./' %} #}{# {%- if text -%} {% if noindex %}<noindex>{% endif %} <div class="additional-content">{{ text|trans|raw }}</div> {% if noindex %}</noindex>{% endif %}{%- endif -%} #}