f4f6e32cc3
fbafe58e40b1bd4a2628aef1eb5955ab57dcfaf4 renamed the function in the scripts file, but did not rename the call sites.
18 lines
961 B
HTML
18 lines
961 B
HTML
<div class="search-content__inner-wrap">
|
|
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
|
{%- case search_provider -%}
|
|
{%- when "lunr" -%}
|
|
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
|
<div id="results" class="results"></div>
|
|
{%- when "google" -%}
|
|
<form onsubmit="return googleCustomSearchExecute();" id="cse-search-box-form-id">
|
|
<input type="text" id="cse-search-input-box-id" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
|
</form>
|
|
<div id="results" class="results">
|
|
<gcse:searchresults-only></gcse:searchresults-only>
|
|
</div>
|
|
{%- when "algolia" -%}
|
|
<div class="search-searchbar"></div>
|
|
<div class="search-hits"></div>
|
|
{%- endcase -%}
|
|
</div>
|