trwnh.com/blog.hugo/layouts/_default/search.html

26 lines
576 B
HTML
Raw Normal View History

2024-09-30 01:32:51 +00:00
{{ define "head" }}
{{ partial "search/search-index.html" . }}
{{ end }}
2022-12-03 21:40:21 +00:00
{{ define "main" }}
<main>
<div class="search-results section">
<header>
<div class="container">
2024-09-30 01:32:51 +00:00
{{ partial "search/search-form.html" . }}
2022-12-03 21:40:21 +00:00
<h2 class="search-results__title"><span id="results-count"></span> <span id="results-count-text"></span> for "<span id="results-query"></span>"</h2>
</div>
</header>
<section>
<div class="container">
<ul id="search-results">
</ul>
</div>
</section>
</div>
</main>
<style>
a[href="#top"] {display: none;}
</style>
{{ end }}