This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
mystic/themes/hueman/layout/search/index.ejs
2018-09-03 17:41:16 +10:00

18 lines
717 B
Plaintext

<div id="search-form-wrap">
<% if (theme.search.insight) { %>
<form class="search-form">
<input type="text" class="ins-search-input search-form-input" placeholder="<%= __('index.search') %>" />
<button type="submit" class="search-form-submit"></button>
</form>
<%- partial('search/insight') %>
<% } else if (theme.search.swiftype) { %>
<div class="search-form">
<input type="text" class="st-default-search-input search-form-input" placeholder="<%= __('index.search') %>" />
</div>
<%- partial('search/swiftype') %>
<% } else if (theme.search.baidu) { %>
<%- partial('search/baidu') %>
<% } else { %>
<%- search_form({text: __('index.search')}) %>
<% } %>
</div>