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:
parent
a0e7b19784
commit
65198a7632
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
<!-- Custom theme stylesheets -->
|
<!-- Custom theme stylesheets -->
|
||||||
{{#each additional_css}}
|
{{#each additional_css}}
|
||||||
<link rel="stylesheet" href="{{ this }}">
|
<link rel="stylesheet" href="{{ ../path_to_root }}{{ this }}">
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
||||||
{{#if mathjax_support}}
|
{{#if mathjax_support}}
|
||||||
|
@ -235,7 +235,7 @@
|
||||||
|
|
||||||
<!-- Custom JS scripts -->
|
<!-- Custom JS scripts -->
|
||||||
{{#each additional_js}}
|
{{#each additional_js}}
|
||||||
<script type="text/javascript" src="{{ path_to_root }}{{this}}"></script>
|
<script type="text/javascript" src="{{ ../path_to_root }}{{this}}"></script>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
||||||
{{#if is_print}}
|
{{#if is_print}}
|
||||||
|
|
Loading…
Reference in New Issue