Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jeremybise/twentynineteen-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Bise <jeremy.bise@thosegeeks.com>2019-04-27 17:56:31 +0300
committerJeremy Bise <jeremy.bise@thosegeeks.com>2019-04-27 17:56:31 +0300
commit7cbec87c0c7cbc3627f13e3adb8342cb7084ad03 (patch)
treeb2103ea17c79d06d189652619d9b5424fccee615
parent4388481ca6f6300f8b5ac972d0f69a330367e38d (diff)
correct the absurls
-rw-r--r--layouts/_default/search.html2
-rw-r--r--layouts/partials/footer/footer-widgets.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/search.html b/layouts/_default/search.html
index bfd8f3e..19ffa25 100644
--- a/layouts/_default/search.html
+++ b/layouts/_default/search.html
@@ -61,7 +61,7 @@
}
function executeSearch(searchQuery) {
- $.getJSON({{ "/index.json" | absURL }}, function(data) {
+ $.getJSON({{ "index.json" | absURL }}, function(data) {
var pages = data;
var fuse = new Fuse(pages, fuseOptions);
var result = fuse.search(searchQuery);
diff --git a/layouts/partials/footer/footer-widgets.html b/layouts/partials/footer/footer-widgets.html
index fea01ef..5149bce 100644
--- a/layouts/partials/footer/footer-widgets.html
+++ b/layouts/partials/footer/footer-widgets.html
@@ -1,7 +1,7 @@
<aside class="widget-area" role="complementary" aria-label="Footer">
<div class="widget-column">
<section id="search" class="widget widget_search">
- <form role="search" class="search-form" action="{{ "/search" | absURL }}">
+ <form role="search" class="search-form" action="{{ "search" | absURL }}">
<label>
<span class="screen-reader-text">Search for:</span>
<input type="search" class="search-field" placeholder="Search ..." value name="s">