Add path to root for additional css files in handlebar template

This change ensures that additional css files are correctly sourced and apply to all pages, regardless of their location in the book's folder structure.
This commit is contained in:
Chad Morrow 2018-08-03 12:39:29 -07:00
parent 322e8fcf77
commit 4a8e71b896
1 changed files with 1 additions and 1 deletions

View File

@ -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}}