7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-12-27 06:10:19 +00:00
web-ansol.org/themes/academic/layouts/partials/search.html

31 lines
1.1 KiB
HTML
Raw Normal View History

2020-06-11 11:46:16 +00:00
<aside class="search-results" id="search">
2021-11-01 04:10:20 +00:00
<div class="container">
<section class="search-header">
2020-06-11 11:46:16 +00:00
2021-11-01 04:10:20 +00:00
<div class="row no-gutters justify-content-between mb-3">
<div class="col-6">
<h1>{{ i18n "search" }}</h1>
</div>
<div class="col-6 col-search-close">
<a class="js-search" href="#" onclick="document.querySelector('body').classList.toggle('searching'); return false;">Fechar</a>
</div>
</div>
2020-06-11 11:46:16 +00:00
2021-11-01 04:10:20 +00:00
<div id="search-box">
{{ if eq site.Params.search.engine 1 }}
<input name="q" id="search-query" placeholder="{{i18n "search_placeholder"}}" autocapitalize="off"
autocomplete="off" autocorrect="off" spellcheck="false" type="search">
{{ else }}
<!-- Search box will appear here -->
{{ end }}
</div>
2020-06-11 11:46:16 +00:00
2021-11-01 04:10:20 +00:00
</section>
<section class="section-search-results">
<div id="search-hits">
<!-- Search results will appear here -->
</div>
</section>
2020-06-11 11:46:16 +00:00
</div>
2021-11-01 04:10:20 +00:00
</aside>