refactor to avoid errors when rendering locally
[rnaseq-cwl-training.git] / _layouts / base.html
1 ---
2 ---
3 {% include base_path.html %}
4 {% include gh_variables.html %}
5
6 <!doctype html>
7 <html lang="en">
8   <head>
9     <meta charset="utf-8">
10     <meta http-equiv="X-UA-Compatible" content="IE=edge">
11     <meta http-equiv="last-modified" content="{{ site.time }}">
12     <meta name="viewport" content="width=device-width, initial-scale=1">
13     <!-- meta "search-domain" used for google site search function google_search() -->
14     <meta name="search-domain" value="{{ search_domain_url }}">
15     <link rel="stylesheet" type="text/css" href="{{ relative_root_path }}/assets/css/bootstrap.css" />
16     <link rel="stylesheet" type="text/css" href="{{ relative_root_path }}/assets/css/bootstrap-theme.css" />
17     <link rel="stylesheet" type="text/css" href="{{ relative_root_path }}/assets/css/lesson.css" />
18     <link rel="stylesheet" type="text/css" href="{{ relative_root_path }}/assets/css/syntax.css" />
19
20     {% include favicons.html %}
21
22     <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
23     <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
24     <!--[if lt IE 9]>
25         <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
26         <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
27         <![endif]-->
28     <title>{{ site.title }}{% if page.title %}: {{ page.title }}{% endif %}</title>
29   </head>
30   <body>
31
32     {% include life_cycle.html %}
33
34     <div class="container">
35       {% include navbar.html %}
36 {{ content }}
37       {% if site.kind == "workshop" %}
38       {% include workshop_footer.html %}
39       {% else %}
40       {% include lesson_footer.html %}
41       {% endif %}
42     </div>
43     {% include javascript.html %}
44   </body>
45 </html>