Skip to content

Commit 48c97da

Browse files
authored
Merge pull request #777 from wirelyre/fix-additional-css-and-js
Fix paths to additional CSS and JavaScript files
2 parents a0e7b19 + 65198a7 commit 48c97da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/theme/index.hbs

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
<!-- Custom theme stylesheets -->
2929
{{#each additional_css}}
30-
<link rel="stylesheet" href="{{ this }}">
30+
<link rel="stylesheet" href="{{ ../path_to_root }}{{ this }}">
3131
{{/each}}
3232

3333
{{#if mathjax_support}}
@@ -235,7 +235,7 @@
235235

236236
<!-- Custom JS scripts -->
237237
{{#each additional_js}}
238-
<script type="text/javascript" src="{{ path_to_root }}{{this}}"></script>
238+
<script type="text/javascript" src="{{ ../path_to_root }}{{this}}"></script>
239239
{{/each}}
240240

241241
{{#if is_print}}

0 commit comments

Comments
 (0)