Skip to content

Commit 582ea0e

Browse files
committed
fix: remove redundant slashes in asset paths in index.hbs
1 parent 91aa567 commit 582ea0e

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

theme/index.hbs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,31 +34,31 @@
3434
<meta property="og:image" content="https://rustlang-es.org/rust-book-es/img/open-graph.png">
3535

3636
{{#if favicon_svg}}
37-
<link rel="icon" href="{{ path_to_root }}/favicon.svg">
37+
<link rel="icon" href="{{ path_to_root }}favicon.svg">
3838
{{/if}}
3939
{{#if favicon_png}}
40-
<link rel="shortcut icon" href="{{ path_to_root }}/favicon.png">
40+
<link rel="shortcut icon" href="{{ path_to_root }}favicon.png">
4141
{{/if}}
42-
<link rel="stylesheet" href="{{ path_to_root }}/css/variables.css">
43-
<link rel="stylesheet" href="{{ path_to_root }}/css/general.css">
44-
<link rel="stylesheet" href="{{ path_to_root }}/css/chrome.css">
42+
<link rel="stylesheet" href="{{ path_to_root }}css/variables.css">
43+
<link rel="stylesheet" href="{{ path_to_root }}css/general.css">
44+
<link rel="stylesheet" href="{{ path_to_root }}css/chrome.css">
4545
{{#if print_enable}}
46-
<link rel="stylesheet" href="{{ path_to_root }}/css/print.css" media="print">
46+
<link rel="stylesheet" href="{{ path_to_root }}css/print.css" media="print">
4747
{{/if}}
4848

4949
<!-- Fonts -->
50-
<link rel="stylesheet" href="{{ path_to_root }}/FontAwesome/css/font-awesome.css">
50+
<link rel="stylesheet" href="{{ path_to_root }}FontAwesome/css/font-awesome.css">
5151
{{#if copy_fonts}}
52-
<link rel="stylesheet" href="{{ path_to_root }}/fonts/fonts.css">
52+
<link rel="stylesheet" href="{{ path_to_root }}fonts/fonts.css">
5353
{{/if}}
5454

5555
<!-- Highlight.js Stylesheets -->
56-
<link rel="stylesheet" href="{{ path_to_root }}/highlight.css">
57-
<link rel="stylesheet" href="{{ path_to_root }}/tomorrow-night.css">
58-
<link rel="stylesheet" href="{{ path_to_root }}/ayu-highlight.css">
56+
<link rel="stylesheet" href="{{ path_to_root }}highlight.css">
57+
<link rel="stylesheet" href="{{ path_to_root }}tomorrow-night.css">
58+
<link rel="stylesheet" href="{{ path_to_root }}ayu-highlight.css">
5959

60-
<link rel="stylesheet" href="{{ path_to_root }}/theme/extra.css">
61-
<link rel="stylesheet" href="{{ path_to_root }}/theme/pagetoc.css">
60+
<link rel="stylesheet" href="{{ path_to_root }}theme/extra.css">
61+
<link rel="stylesheet" href="{{ path_to_root }}theme/pagetoc.css">
6262
<!-- Custom theme stylesheets -->
6363
{{#each additional_css}}
6464
<link rel="stylesheet" href="{{ ../path_to_root }}{{ this }}">

0 commit comments

Comments
 (0)