|
9 | 9 | {{/if}} |
10 | 10 | {{#if base_url}} |
11 | 11 | <base href="{{ base_url }}"> |
12 | | - {{else}} |
13 | | - <base href="{{ base_url }}/es"> |
14 | 12 | {{/if}} |
15 | 13 |
|
16 | 14 |
|
|
36 | 34 | <meta property="og:image" content="https://rustlang-es.org/rust-book-es/img/open-graph.png"> |
37 | 35 |
|
38 | 36 | {{#if favicon_svg}} |
39 | | - <link rel="icon" href="{{ path_to_root }}favicon.svg"> |
| 37 | + <link rel="icon" href="{{ path_to_root }}/favicon.svg"> |
40 | 38 | {{/if}} |
41 | 39 | {{#if favicon_png}} |
42 | | - <link rel="shortcut icon" href="{{ path_to_root }}favicon.png"> |
| 40 | + <link rel="shortcut icon" href="{{ path_to_root }}/favicon.png"> |
43 | 41 | {{/if}} |
44 | | - <link rel="stylesheet" href="{{ path_to_root }}css/variables.css"> |
45 | | - <link rel="stylesheet" href="{{ path_to_root }}css/general.css"> |
46 | | - <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"> |
47 | 45 | {{#if print_enable}} |
48 | | - <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"> |
49 | 47 | {{/if}} |
50 | 48 |
|
51 | 49 | <!-- Fonts --> |
52 | | - <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"> |
53 | 51 | {{#if copy_fonts}} |
54 | | - <link rel="stylesheet" href="{{ path_to_root }}fonts/fonts.css"> |
| 52 | + <link rel="stylesheet" href="{{ path_to_root }}/fonts/fonts.css"> |
55 | 53 | {{/if}} |
56 | 54 |
|
57 | 55 | <!-- Highlight.js Stylesheets --> |
58 | | - <link rel="stylesheet" href="{{ path_to_root }}highlight.css"> |
59 | | - <link rel="stylesheet" href="{{ path_to_root }}tomorrow-night.css"> |
60 | | - <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"> |
61 | 59 |
|
62 | | - <link rel="stylesheet" href="{{ path_to_root }}theme/extra.css"> |
63 | | - <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"> |
64 | 62 | <!-- Custom theme stylesheets --> |
65 | 63 | {{#each additional_css}} |
66 | 64 | <link rel="stylesheet" href="{{ ../path_to_root }}{{ this }}"> |
|
0 commit comments