2022-03-16 15:24:24 +01:00
|
|
|
<% if (theme.swiftype_key) { %>
|
|
|
|
<div class="form-group has-success has-feedback" id="site_search">
|
|
|
|
<form class="site-search-form">
|
|
|
|
<input type="text" id="st-search-input" name="q" results="0" placeholder="<%= __('search') %>" class="st-search-input st-default-search-input form-control" />
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<% } else { %>
|
|
|
|
<div id="site_search">
|
|
|
|
<div class="form-group">
|
|
|
|
<input type="text" id="local-search-input" name="q" results="0" placeholder="<%= __('search') %>" class="st-search-input st-default-search-input form-control"/>
|
|
|
|
</div>
|
|
|
|
<div id="local-search-result"></div>
|
|
|
|
</div>
|
|
|
|
|
2022-03-26 19:16:53 +01:00
|
|
|
<script src="<%- url_for('./js/active_search.js') %>"> async</script>
|
2022-03-16 15:24:24 +01:00
|
|
|
|
|
|
|
<% } %>
|