1{%- include snippets/get-locale-string.html key='CANCEL' -%}
2{%- assign _locale_cancel = __return -%}
3{%- include snippets/get-locale-string.html key='SEARCH' -%}
4{%- assign _locale_search = __return -%}
5
6{%- if site.search.provider == 'google' -%}
7  <script>window.useDefaultSearchBox = false;</script>
8{%- endif -%}
9
10{%- if site.search.provider -%}
11  <script>{%- include scripts/components/search.js -%}</script>
12{%- endif -%}
13
14{%- if site.search.provider == 'default' -%}
15  {%- include search-providers/default/search.html -%}
16{%- elsif site.search.provider == 'google' -%}
17  {%- include search-providers/google-custom-search-engine/search.html -%}
18{%- elsif site.search.provider == 'custom' -%}
19  {%- include search-providers/custom/search.html -%}
20{%- endif -%}
21