diff --git a/assets/js/search.js b/assets/js/search.js
index 5737377..8a47ae4 100644
--- a/assets/js/search.js
+++ b/assets/js/search.js
@@ -66,7 +66,6 @@ const initLunr = () => {
$.getJSON('index.json').done((index) => {
pagesIndex = index
lunrIndex = lunr(builder => {
- console.log(builder)
builder.tokenizer = bigramTokeniser
builder.pipeline.reset()
builder.ref('ref')
@@ -114,10 +113,10 @@ const initUI = () => {
// Icon switching
if (query.length) {
- $('#searchBoxIcon').attr('src', '/img/clear.png')
+ $('#searchBoxIcon').attr('src', '../img/clear.png')
$('#searchBoxIcon').css('cursor', 'pointer')
} else {
- $('#searchBoxIcon').attr('src', '/img/search.png')
+ $('#searchBoxIcon').attr('src', '../img/search.png')
$('#searchBoxIcon').css('cursor', 'default')
}
diff --git a/exampleSite/static/js/custom.js b/exampleSite/static/js/custom.js
index 991b1a3..5e13a17 100644
--- a/exampleSite/static/js/custom.js
+++ b/exampleSite/static/js/custom.js
@@ -1,2 +1 @@
// Write your custom scripts here.
-
diff --git a/layouts/404.html b/layouts/404.html
index ecaf7d0..4430417 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -6,7 +6,7 @@
{{ partial "footer.html" . }}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 540d2b8..fb53e88 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -3,7 +3,7 @@
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 1c5c5cc..bef63b8 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,9 +1,9 @@
diff --git a/resources/_gen/assets/css/style.css_d11fe7b62c27961c87ecd0f2490357b9.content b/resources/_gen/assets/css/style0.css_d11fe7b62c27961c87ecd0f2490357b9.content
similarity index 100%
rename from resources/_gen/assets/css/style.css_d11fe7b62c27961c87ecd0f2490357b9.content
rename to resources/_gen/assets/css/style0.css_d11fe7b62c27961c87ecd0f2490357b9.content
diff --git a/resources/_gen/assets/css/style.css_d11fe7b62c27961c87ecd0f2490357b9.json b/resources/_gen/assets/css/style0.css_d11fe7b62c27961c87ecd0f2490357b9.json
similarity index 100%
rename from resources/_gen/assets/css/style.css_d11fe7b62c27961c87ecd0f2490357b9.json
rename to resources/_gen/assets/css/style0.css_d11fe7b62c27961c87ecd0f2490357b9.json
diff --git a/resources/_gen/assets/js/bundle.js_d11fe7b62c27961c87ecd0f2490357b9.json b/resources/_gen/assets/js/bundle.js_d11fe7b62c27961c87ecd0f2490357b9.json
deleted file mode 100644
index 5fc6c3c..0000000
--- a/resources/_gen/assets/js/bundle.js_d11fe7b62c27961c87ecd0f2490357b9.json
+++ /dev/null
@@ -1 +0,0 @@
-{"Target":"bundle.min.18eea34e889772359b7798985c476ce1889946fb8933ef10b6f9aafb9911eb16.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-GO6jToiXcjWbd5iYXEds4YiZRvuJM+8Qtvmq+5kR6xY="}}
\ No newline at end of file
diff --git a/resources/_gen/assets/js/bundle.js_d11fe7b62c27961c87ecd0f2490357b9.content b/resources/_gen/assets/js/bundle0.js_d11fe7b62c27961c87ecd0f2490357b9.content
similarity index 99%
rename from resources/_gen/assets/js/bundle.js_d11fe7b62c27961c87ecd0f2490357b9.content
rename to resources/_gen/assets/js/bundle0.js_d11fe7b62c27961c87ecd0f2490357b9.content
index 2aec283..8c30ecc 100644
--- a/resources/_gen/assets/js/bundle.js_d11fe7b62c27961c87ecd0f2490357b9.content
+++ b/resources/_gen/assets/js/bundle0.js_d11fe7b62c27961c87ecd0f2490357b9.content
@@ -671,8 +671,7 @@ const tokens=[]
for(let i=0;i<=str.length-2;i++){tokens.push(str.slice(i,i+2))}
return tokens.join(' ')}
const initLunr=()=>{$.getJSON('index.json').done((index)=>{pagesIndex=index
-lunrIndex=lunr(builder=>{console.log(builder)
-builder.tokenizer=bigramTokeniser
+lunrIndex=lunr(builder=>{builder.tokenizer=bigramTokeniser
builder.pipeline.reset()
builder.ref('ref')
builder.field('title',{boost:10})
@@ -686,8 +685,8 @@ const initUI=()=>{$('#searchBoxIcon').click(()=>{$('#searchBoxInput').val('')
$('#searchBoxInput').trigger('keyup')})
$('#searchBoxInput').keyup(event=>{const $searchResults=$('#searchResults')
const query=$(event.currentTarget).val()
-if(query.length){$('#searchBoxIcon').attr('src','/img/clear.png')
-$('#searchBoxIcon').css('cursor','pointer')}else{$('#searchBoxIcon').attr('src','/img/search.png')
+if(query.length){$('#searchBoxIcon').attr('src','../img/clear.png')
+$('#searchBoxIcon').css('cursor','pointer')}else{$('#searchBoxIcon').attr('src','../img/search.png')
$('#searchBoxIcon').css('cursor','default')}
if(query.length<2){$searchResults.hide()
return}
diff --git a/resources/_gen/assets/js/bundle0.js_d11fe7b62c27961c87ecd0f2490357b9.json b/resources/_gen/assets/js/bundle0.js_d11fe7b62c27961c87ecd0f2490357b9.json
new file mode 100644
index 0000000..68328db
--- /dev/null
+++ b/resources/_gen/assets/js/bundle0.js_d11fe7b62c27961c87ecd0f2490357b9.json
@@ -0,0 +1 @@
+{"Target":"bundle.min.87ff415004641d66f3d4fb9cbf76ce073ce8a10dd5b67afca5054b00be4ebc9a.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-h/9BUARkHWbz1Pucv3bOBzzooQ3Vtnr8pQVLAL5OvJo="}}
\ No newline at end of file