You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{- warnf "UNSUPPORTED usage of 'json' output format found, remove it from your config; see https://mcshelby.github.io/hugo-theme-relearn/introduction/releasenotes/7/#7-0-0" }}
6
+
{{- end }}
7
+
{{- with .Site.Home.OutputFormats.Get "search" }}
8
+
{{- warnf "UNSUPPORTED usage of 'search' output format found, remove it from your config; see https://mcshelby.github.io/hugo-theme-relearn/introduction/releasenotes/7/#7-0-0" }}
9
+
{{- end }}
10
+
{{- with .Site.Home.OutputFormats.Get "searchpage" }}
11
+
{{- warnf "UNSUPPORTED usage of 'searchpage' output format found, remove it from your config; see https://mcshelby.github.io/hugo-theme-relearn/introduction/releasenotes/7/#7-0-0" }}
12
+
{{- end }}
13
+
{{- if not .Site.Params.disableSearchIndex }}
14
+
{{- $url := trim (or .Site.Params.searchIndexURL "searchindex.js") "/" }}
<search>{{ if $link }}<formaction="{{ $link }}" method="get">{{ end }}
31
+
<divclass="searchbox default-animation">
32
+
{{ if $link }}<buttonclass="search-detail" type="submit" title="{{ T "Search" }} (CTRL+ALT+f)">{{ end }}<iclass="fas fa-search"{{ifnot$link}}title="{{ T "Search" }} (CTRL+ALT+f)"{{ end }}></i>{{ if $link }}</button>{{ end }}
33
+
<labelclass="a11y-only" for="R-search-by">{{ T "Search" }}</label>
34
+
<inputdata-search-inputid="R-search-by" name="search-by" class="search-by" type="search" placeholder="{{ T "Search-placeholder" }}">
35
+
<buttonclass="search-clear" type="button" data-search-clear="" title="{{ T "Clear-search" }}"><iclass="fas fa-times" title="{{ T "Clear-search" }}"></i></button>
0 commit comments