acdd3443de
* Support Lunr and Algolia search providers * Document search providers and configuration * Update CHANGELOG and history close #1416
11 lines
No EOL
520 B
HTML
11 lines
No EOL
520 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 "algolia" -%}
|
|
<div class="search-searchbar"></div>
|
|
<div class="search-hits"></div>
|
|
{%- endcase -%}
|
|
</div> |