Skip to content

Commit 00aadf1

Browse files
committed
fixing search to use baseurl
Signed-off-by: Vanessa Sochat <[email protected]>
1 parent af490ba commit 00aadf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@
4545
<!--<script src="{{ site.baseurl }}/assets/js/application.a59e2a89.js"></script>-->
4646
{% assign slashes = page.url | split: "/" %}
4747
<script>console.log('{{ slashes | size }}')</script>
48-
<script>app.initialize({version:"0.17.4", url:{base:'{% if page.url == "/" %}.{% else %}{% for slash in slashes %}.{% endfor %}{% endif %}'}})</script>
48+
<script>app.initialize({version:"0.17.4", url:{base:'{{ site.baseurl }}'}})</script>

0 commit comments

Comments
 (0)