2018-02-16 20:20:42 +01:00
|
|
|
<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>
|
2018-05-15 20:42:10 +02:00
|
|
|
{%- when "google" -%}
|
|
|
|
<form onsubmit="return executeQuery();" 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>
|
2018-02-16 20:20:42 +01:00
|
|
|
{%- when "algolia" -%}
|
|
|
|
<div class="search-searchbar"></div>
|
|
|
|
<div class="search-hits"></div>
|
|
|
|
{%- endcase -%}
|
|
|
|
</div>
|