mirror of
https://github.com/SouthFox-D/SouthFox-D.github.io.git
synced 2024-12-01 18:55:20 +01:00
17 lines
706 B
Text
17 lines
706 B
Text
<% 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>
|
|
|
|
<script src="<%- url_for('./js/active_search.js') %>"> async</script>
|
|
|
|
<% } %>
|