doc/themes/learn2-git-sync/templates/partials/search.html.twig

14 lines
606 B
Twig
Raw Normal View History

{% if config.plugins.simplesearch.enabled %}
<div class="searchbox">
<label for="search-by"><i class="fa fa-search"></i></label>
<input id="search-by" type="text" placeholder="{{ 'THEME_LEARN2_SEARCH_DOCUMENTATION'|t }}"
data-search-input="{{ base_url_relative }}/search.json/query"/>
<span data-search-clear><i class="fa fa-close"></i></span>
</div>
{% endif %}
{% if config.plugins.tntsearch.enabled %}
<div class="adv-search">
2020-11-13 12:38:23 +01:00
<i class="fa fa-sliders"></i> <a href="{{ base_url_absolute }}/search">{{ 'THEME_LEARN2_ADVANCED_SEARCH'|t }}</a>
</div>
{% endif %}