Skip to content

Commit 0f97dab

Browse files
committed
As skins is html and already parsed for liquid finally we can set the doc root correctly
Signed-off-by: Hofi <hofione@gmail.com>
1 parent 65b548f commit 0f97dab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

_includes/skins.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323

2424
<script async="false">
2525

26-
// FIXME: How to get the real base URL (without using Liquid and Front Matter) ?!?!
27-
const docRoot = '';
26+
const docRoot = '{{ site.baseurl }}';
2827
const darkSkin = 'midnight';
2928
const lightSkin = 'default';
3029

0 commit comments

Comments
 (0)