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