{% if theme.algolia_search.enable %} {# S: Include Algolia instantsearch.js library #} {% set algolia_instant_css = url_for(theme.vendors._internal + '/algolia-instant-search/instantsearch.min.css') %} {% if theme.vendors.algolia_instant_css %} {% set algolia_instant_css = theme.vendors.algolia_instant_css %} {% endif %} {% set algolia_instant_js = url_for(theme.vendors._internal + '/algolia-instant-search/instantsearch.min.js') %} {% if theme.vendors.algolia_instant_js %} {% set algolia_instant_js = theme.vendors.algolia_instant_js %} {% endif %} {# E: Include Algolia instantsearch.js library #} {% endif %}