mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-12-22 23:51:47 +00: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" }}
|
||||
{{ $lunr := resources.Get "js/lunr.js" }}
|
||||
{{ $search := resources.Get "js/search.js" }}
|
||||
{{ $js := slice $jquery $mark $lunr $search | resources.Concat "bundle.js" | resources.Minify | resources.Fingerprint }}
|
||||
<script src="{{ $js.Permalink }}"></script>
|
||||
<script src="{{ $jquery.Permalink }}"></script>
|
||||
<script src="{{ $mark.Permalink }}"></script>
|
||||
<script src="{{ $lunr.Permalink }}"></script>
|
||||
<script src="{{ $search.Permalink }}"></script>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue