search-app.html.twig in Search API Federated Solr 8
{% set app_config = federated_search_app_config|json_encode(constant('JSON_UNESCAPED_SLASHES'), constant('JSON_NUMERIC_CHECK')) %}
<noscript>This search page requires Javascript in order to function. <a href="https://www.whatismybrowser.com/guides/how-to-enable-javascript/auto">Learn how to enable Javascript in your browser</a>.</noscript>
<div id="root"
data-federated-search-app-config="{{ app_config }}">
<p class="element-invisible" aria-hidden="true">Federated Solr Search App: If you see this message in your DevTools, it likely means there is an issue adding the app javascript library to this page. Follow the steps in the search_api_federated_solr module README.</p>
</div>
File
templates/search-app.html.twig
View source
- {% set app_config = federated_search_app_config|json_encode(constant('JSON_UNESCAPED_SLASHES'), constant('JSON_NUMERIC_CHECK')) %}
-
- <noscript>This search page requires Javascript in order to function. <a href="https://www.whatismybrowser.com/guides/how-to-enable-javascript/auto">Learn how to enable Javascript in your browser</a>.</noscript>
- <div id="root"
- data-federated-search-app-config="{{ app_config }}">
- <p class="element-invisible" aria-hidden="true">Federated Solr Search App: If you see this message in your DevTools, it likely means there is an issue adding the app javascript library to this page. Follow the steps in the search_api_federated_solr module README.</p>
- </div>