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