Changing lunr.js script src location
Temporarily change to static file
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="app-search" class="row listrecent"></div>
|
<div id="app-search" class="row listrecent"></div>
|
||||||
|
|
||||||
<script src="{{ .Site.BaseURL }}js/lunr.js"></script>
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{{ $p := slice }}
|
{{ $p := slice }}
|
||||||
{{ range (where .Site.RegularPages "Section" "==" "post") }}
|
{{ range (where .Site.RegularPages "Section" "==" "post") }}
|
||||||
@@ -33,8 +33,8 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{ $p | jsonify }}
|
{{ $p | jsonify }}
|
||||||
</div>
|
</div>
|
||||||
|
<script src="{{ print "dist/" "lunr.b93de9e9609074d666f5123e866e25ed..min.js" | relURL }}"></script>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
const posts = JSON.parse(
|
const posts = JSON.parse(
|
||||||
{{ $p | jsonify }}
|
{{ $p | jsonify }}
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user