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

14 lines
609 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">
2021-02-07 12:01:50 +01:00
<i class="fa fa-sliders"></i> <a href="{{ base_url_absolute }}/tntsearch">{{ 'THEME_LEARN2_ADVANCED_SEARCH'|t }}</a>
</div>
{% endif %}