mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-09 10:50:34 -05:00
Fixed search by splitting up javascript files
This commit is contained in:
parent
090c5d3d94
commit
453f9cb7fa
1 changed files with 4 additions and 2 deletions
|
@ -33,6 +33,8 @@
|
||||||
{{ $mark := resources.Get "js/jquery.mark.es6.min.js" }}
|
{{ $mark := resources.Get "js/jquery.mark.es6.min.js" }}
|
||||||
{{ $lunr := resources.Get "js/lunr.js" }}
|
{{ $lunr := resources.Get "js/lunr.js" }}
|
||||||
{{ $search := resources.Get "js/search.js" }}
|
{{ $search := resources.Get "js/search.js" }}
|
||||||
{{ $js := slice $jquery $mark $lunr $search | resources.Concat "bundle.js" | resources.Minify | resources.Fingerprint }}
|
<script src="{{ $jquery.Permalink }}"></script>
|
||||||
<script src="{{ $js.Permalink }}"></script>
|
<script src="{{ $mark.Permalink }}"></script>
|
||||||
|
<script src="{{ $lunr.Permalink }}"></script>
|
||||||
|
<script src="{{ $search.Permalink }}"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue