mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
27 lines
1 KiB
HTML
27 lines
1 KiB
HTML
{{- $title := T "Search" }}
|
|
<article class="default">
|
|
<h1 id="{{ $title | urlize }}">{{ $title }}</h1>
|
|
|
|
<form action="javascript:triggerSearch()">
|
|
<div class="searchform">
|
|
<label class="a11y-only" for="search-by-detail">{{ T "Search" }}</label>
|
|
<input data-search-input id="search-by-detail" class="search-by" name="search-by" type="search" placeholder="{{ T "Search-placeholder" }}">
|
|
{{ partial "shortcodes/button.html" (dict
|
|
"context" .
|
|
"type" "submit"
|
|
"style" "secondary"
|
|
"icon" "search"
|
|
"content" (T "Search")
|
|
)}}
|
|
</div>
|
|
</form>
|
|
<div class="searchhint">
|
|
</div>
|
|
<hr>
|
|
<div id="searchresults">
|
|
</div>
|
|
|
|
<footer class="footline">
|
|
{{- partial "content-footer.html" . }}
|
|
</footer>
|
|
</article>
|