index.ejs 500 B

12345678910111213
  1. <div id="search-form-wrap">
  2. <% if (theme.search.swiftype) { %>
  3. <form class="search-form">
  4. <input type="text" class="st-default-search-input search-form-input" placeholder="<%= __('index.search') %>" />
  5. <button type="submit" class="search-form-submit"></button>
  6. </form>
  7. <%- partial('search/swiftype') %>
  8. <% } else if (theme.search.baidu) { %>
  9. <%- partial('search/baidu') %>
  10. <% } else { %>
  11. <%- search_form({ button: ' ', text: __('index.search') }) %>
  12. <% } %>
  13. </div>