Skip to content

Commit 8eea3d7

Browse files
committed
remove json from search input
1 parent 5e6798a commit 8eea3d7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

layouts/partials/search-input.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{- $lunrIndex := resources.Get "json/lunr-index.json" }}
21
{{ if or .Site.Params.gcs_engine_id .Site.Params.algolia_docsearch }}
32
<input type="search" class="form-control td-search-input" placeholder="&#xf002 {{ T "ui_search" }}" aria-label="{{ T "ui_search" }}" autocomplete="off">
43
{{ else if .Site.Params.offlineSearch }}
@@ -23,7 +22,6 @@
2322
*/}}
2423
data-search-path="{{ $path }}"
2524
data-offline-search-index-json-src="{{ $offlineSearchIndexFingerprint.RelPermalink }}"
26-
data-lunr-index-json-src="{{ $lunrIndex.RelPermalink }}"
2725
data-offline-search-base-href="/"
2826
data-offline-search-max-results="{{ .Site.Params.offlineSearchMaxResults | default 10 }}"
2927
>

0 commit comments

Comments
 (0)