hugo-theme-relearn/layouts/partials/body.searchpage.html

28 lines
1 KiB
HTML
Raw Normal View History

2022-11-17 21:12:18 +00:00
{{- $title := T "Search" }}
<article class="default">
<h1 id="{{ $title | urlize }}">{{ $title }}</h1>
<form action="javascript:triggerSearch()">
<div class="searchform">
2022-11-28 17:42:51 +00:00
<label class="a11y-only" for="search-by-detail">{{ T "Search" }}</label>
2022-11-17 21:12:18 +00:00
<input data-search-input id="search-by-detail" class="search-by" name="search-by" type="search" placeholder="{{ T "Search-placeholder" }}">
2022-12-04 09:09:51 +00:00
{{- partial "shortcodes/button.html" (dict
2022-11-28 17:42:51 +00:00
"context" .
"type" "submit"
"style" "secondary"
"icon" "search"
"content" (T "Search")
)}}
2022-11-17 21:12:18 +00:00
</div>
</form>
<div class="searchhint">
</div>
<hr>
<div id="searchresults">
</div>
<footer class="footline">
{{- partial "content-footer.html" . }}
</footer>
</article>