_includes/layouts/sidebar.html in jekyll-theme-h2o-ac-1.3.1 vs _includes/layouts/sidebar.html in jekyll-theme-h2o-ac-1.3.4

- old
+ new

@@ -125,15 +125,16 @@ </section> </div> {% if site.search %} - <div class="search-card"> - <input id="search_input" type="text" placeholder="Search..." autocomplete="off"> - <svg class="icon" aria-hidden="true"> - <use xlink:href="#icon-search"></use> - </svg> - <div class="search_result"></div> - </div> + {% if site.search_type == "default" or site.search_type == nil %} + <div class="search-card"> + <input id="search_input" type="text" placeholder="Search..." autocomplete="off"> + <svg class="icon" aria-hidden="true"> + <use xlink:href="#icon-search"></use> + </svg> + <div class="search_result"></div> + </div> + {% endif %} {% endif %} - </aside> \ No newline at end of file