4 If previewing locally, site.root is set in _config_dev.yml.
5 If site.root is not set, assume we're viewing on the web.
8 {% assign root = site.root %}
10 {% assign root = site.github.url %}
15 <meta charset="utf-8">
16 <meta http-equiv="X-UA-Compatible" content="IE=edge">
17 <meta http-equiv="last-modified" content="{{ site.time }}">
18 <meta name="viewport" content="width=device-width, initial-scale=1">
19 <meta name="search-domain" value="{{ root }}">
20 <link rel="stylesheet" type="text/css" href="{{ root }}/assets/css/bootstrap.css" />
21 <link rel="stylesheet" type="text/css" href="{{ root }}/assets/css/bootstrap-theme.css" />
22 <link rel="stylesheet" type="text/css" href="{{ root }}/assets/css/lesson.css" />
23 {% if site.carpentry == "swc" %}
24 <link rel="shortcut icon" type="image/x-icon" href="/favicon-swc.ico" />
26 {% if site.carpentry == "dc" %}
27 <link rel="shortcut icon" type="image/x-icon" href="/favicon-dc.ico" />
29 <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
30 <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
32 <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
33 <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
35 <title>{{ site.title }}{% if page.title %}: {{ page.title }}{% endif %}</title>
38 <div class="container">
39 {% include navbar.html %}
41 {% if site.kind == "workshop" %}
42 {% include workshop_footer.html %}
44 {% include lesson_footer.html %}
47 {% include javascript.html %}