mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
2574cb8340
see lunr-adapter.js to see how other search engines can be integrated
31 lines
No EOL
910 B
HTML
31 lines
No EOL
910 B
HTML
|
|
<article class="default">
|
|
<header class="headline">
|
|
{{- partial "content-header.html" . }}
|
|
</header>
|
|
{{ partial "heading-pre.html" . }}{{ partial "heading.html" . }}{{ partial "heading-post.html" . }}
|
|
|
|
<search>
|
|
<form action="javascript:executeTriggeredSearch()">
|
|
<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" .
|
|
"type" "submit"
|
|
"style" "secondary"
|
|
"icon" "search"
|
|
"content" (T "Search")
|
|
)}}
|
|
</div>
|
|
</form>
|
|
</search>
|
|
<div class="searchhint">
|
|
</div>
|
|
<hr>
|
|
<div id="R-searchresults">
|
|
</div>
|
|
<footer class="footline">
|
|
{{- partial "content-footer.html" . }}
|
|
</footer>
|
|
</article> |