|
10 | 10 | <meta charset="utf-8"> |
11 | 11 | <meta http-equiv="x-ua-compatible" content="ie=edge"> |
12 | 12 | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
13 | | - |
| 13 | + |
14 | 14 | <!-- |
15 | 15 | The page_title contains the title for a page as shown in the navigation. |
16 | 16 | Site name contains the name as defined in the mkdocs.yml |
|
32 | 32 | <link rel="stylesheet" href="{{ "css/theme.css"|url }}"> |
33 | 33 |
|
34 | 34 | <!-- |
35 | | - extra_ess contains paths to CSS files in the users |
| 35 | + extra_css contains paths to CSS files in the users |
36 | 36 | documentation directory or a list of CSS files defined in |
37 | 37 | their mkdocs.yml. |
38 | 38 |
|
|
42 | 42 | <link href="{{ path|url }}" rel="stylesheet"> |
43 | 43 | {% endfor %} |
44 | 44 |
|
45 | | - <!-- |
46 | | - To include static assets from our theme, just add |
47 | | - {{ base_url }} beforehand which will be the relative path to |
48 | | - the root of the documentation. |
49 | | - --> |
50 | 45 | <script |
51 | 46 | src="https://code.jquery.com/jquery-3.3.1.slim.min.js" |
52 | 47 | integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E=" |
53 | 48 | crossorigin="anonymous"></script> |
| 49 | + |
| 50 | + <!-- |
| 51 | + To include static assets from our theme, just make the path |
| 52 | + relative to the root of the documentation with `|url`. |
| 53 | + --> |
54 | 54 | <script src="{{ "js/theme.js"|url }}"></script> |
55 | 55 |
|
56 | 56 | {% block extrahead %} |
|
63 | 63 |
|
64 | 64 | http://www.mkdocs.org/user-guide/configuration/#extra_javascript |
65 | 65 | --> |
66 | | - {% for path in config.extra_javascript %} |
67 | | - <script src="{{ path|url }}"></script> |
| 66 | + {% for script in config.extra_javascript %} |
| 67 | + {{ script | script_tag }} |
68 | 68 | {% endfor %} |
69 | 69 |
|
70 | 70 | <!-- |
|
0 commit comments