diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-07-16 14:49:19 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-08-06 11:33:42 +0200 |
commit | 625f202275d7a835d0449b838a8971de45656596 (patch) | |
tree | 18f13ae0530ced78d71799dbab129fe807e1bf6a /layouts/partials/docs | |
parent | 440ea834f7b1de9c88e2dbd028f5cff86de2d361 (diff) |
Make lunr to load on search interaction as well
Diffstat (limited to 'layouts/partials/docs')
-rw-r--r-- | layouts/partials/docs/html-head.html | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index 68b29bb..9946c37 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -8,7 +8,6 @@ {{ if default true .Site.Params.BookSearch }} {{- $searchJS := resources.Get "search.js" | resources.ExecuteAsTemplate "search.js" . | resources.Minify | resources.Fingerprint }} -<script defer src="{{ "lunr.min.js" | relURL }}"></script> <script defer src="{{ $searchJS.RelPermalink }}"></script> {{ end }} |