mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
25 lines
749 B
HTML
25 lines
749 B
HTML
|
{{/*
|
||
|
This is an internal shortcode used for the dedicated search page;
|
||
|
it is undocumented and not be meant to be used in your content files!
|
||
|
*/ -}}
|
||
|
<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>
|
||
|
<div class="searchhint">
|
||
|
</div>
|
||
|
<hr>
|
||
|
<div id="R-searchresults">
|
||
|
</div>
|