Fix paths to additional CSS and JavaScript files

Expressions in an `#each` block need to begin with "../" to reference
values in the main context.
This commit is contained in:
wirelyre 2018-08-31 20:03:34 -05:00
parent a0e7b19784
commit 65198a7632
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
<!-- Custom theme stylesheets -->
{{#each additional_css}}
<link rel="stylesheet" href="{{ this }}">
<link rel="stylesheet" href="{{ ../path_to_root }}{{ this }}">
{{/each}}
{{#if mathjax_support}}
@ -235,7 +235,7 @@
<!-- Custom JS scripts -->
{{#each additional_js}}
<script type="text/javascript" src="{{ path_to_root }}{{this}}"></script>
<script type="text/javascript" src="{{ ../path_to_root }}{{this}}"></script>
{{/each}}
{{#if is_print}}