Forcing CSS and Javascript to be loaded via HTTPS.
[rnaseq-cwl-training.git] / _layouts / base.html
1 ---
2 ---
3 <!doctype html>
4 <html lang="en">
5   <head>
6     <meta charset="utf-8">
7     <meta http-equiv="X-UA-Compatible" content="IE=edge">
8     <meta http-equiv="last-modified" content="{{ site.time }}">
9     <meta name="viewport" content="width=device-width, initial-scale=1">
10     <meta name="search-domain" value="{{ site.github.url | replace_first: 'http:', 'https:' }}">
11     <link rel="stylesheet" type="text/css" href="{{ site.github.url | replace_first: 'http:', 'https:' }}/assets/css/bootstrap.css" />
12     <link rel="stylesheet" type="text/css" href="{{ site.github.url | replace_first: 'http:', 'https:' }}/assets/css/bootstrap-theme.css" />
13     <link rel="stylesheet" type="text/css" href="{{ site.github.url | replace_first: 'http:', 'https:' }}/assets/css/lesson.css" />
14     {% if site.carpentry == "swc" %}
15     <link rel="shortcut icon" type="image/x-icon" href="/favicon-swc.ico" />
16     {% endif %}
17     {% if site.carpentry == "dc" %}
18     <link rel="shortcut icon" type="image/x-icon" href="/favicon-dc.ico" />
19     {% endif %}
20     <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
21     <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
22     <!--[if lt IE 9]>
23         <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
24         <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
25         <![endif]-->
26     <title>{{ site.title }}{% if page.title %}: {{ page.title }}{% endif %}</title>
27   </head>
28   <body>
29     <div class="container">
30       {% include navbar.html %}
31 {{ content }}
32       {% if site.kind == "workshop" %}
33       {% include workshop_footer.html %}
34       {% else %}
35       {% include lesson_footer.html %}
36       {% endif %}
37     </div>
38     {% include javascript.html %}
39   </body>
40 </html>