Skip to content

Commit

Permalink
Merge pull request rust-lang#777 from wirelyre/fix-additional-css-and-js
Browse files Browse the repository at this point in the history
Fix paths to additional CSS and JavaScript files
  • Loading branch information
mattico authored Sep 4, 2018
2 parents fe22b0a + adea6b8 commit 7b5b425
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/theme/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down Expand Up @@ -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}}
Expand Down

0 comments on commit 7b5b425

Please sign in to comment.