2018-02-16 16:46:51 +02:00
|
|
|
<div class="inner">
|
|
|
|
{% if site.search %}
|
|
|
|
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
|
|
|
{%- case search_provider -%}
|
|
|
|
{%- when "lunr" -%}
|
2018-02-21 15:28:55 +02:00
|
|
|
<label class="visually-hidden" for="search">{{ site.data.theme.t.site_search | default: 'Site Search' }}</label>
|
2019-08-02 19:10:12 +03:00
|
|
|
<input type="text" id="search" class="search-input" aria-describedby="results-count" tabindex="-1" placeholder="{{ site.data.theme.t.search_placeholder_text | default: 'Enter your search term...' }}" />
|
2018-02-16 16:46:51 +02:00
|
|
|
<div id="results" class="results"></div>
|
|
|
|
{%- when "algolia" -%}
|
|
|
|
<div tabindex="-1" class="search-searchbar"></div>
|
|
|
|
<div class="search-hits"></div>
|
|
|
|
{%- endcase -%}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|