We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58932fa commit e20e6a2Copy full SHA for e20e6a2
_includes/search.html
@@ -3,15 +3,15 @@
3
<input type="text" id="search-input" placeholder="search...">
4
<ul id="results-container"></ul>
5
</div>
6
-
+
7
<!-- Script pointing to search-script.js -->
8
-<script src="search-script.js" type="text/javascript"></script>
+<script src="{{ site.baseurl }}/search-script.js" type="text/javascript"></script>
9
10
<!-- Configuration -->
11
<script>
12
SimpleJekyllSearch({
13
searchInput: document.getElementById('search-input'),
14
resultsContainer: document.getElementById('results-container'),
15
- json: 'search.json'
+ json: '{{ site.baseurl }}/search.json'
16
})
17
</script>
0 commit comments