<% if (theme.search.insight) { %>
<%- partial('search/insight') %> <% } else if (theme.search.swiftype) { %>
<%- partial('search/swiftype') %> <% } else if (theme.search.baidu) { %> <%- partial('search/baidu') %> <% } else { %> <%- search_form({text: __('index.search')}) %> <% } %>