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

32 lines
1.1 KiB
HTML
Raw Normal View History

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