Must provide permalinks in pages, not layouts
[rnaseq-cwl-training.git] / _layouts / workshop.html
1 ---
2 ---
3 {% comment %}
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.
6 {% endcomment %}
7 {% if site.root %}
8   {% assign root = site.root %}
9 {% else %}
10   {% assign root = site.github.url %}
11 {% endif %}
12 <!doctype html>
13 <html lang="en">
14   <head>
15
16     <meta name="slug" content="{{site.github.project_title}}" />
17     <meta name="startdate" content="{{page.startdate}}" />
18     <meta name="enddate" content="{{page.enddate}}" />
19     <meta name="humandate" content="{{page.humandate}}" />
20     <meta name="country" content="{{page.country}}" />
21     <meta name="venue" content="{{page.venue}}" />
22     <meta name="address" content="{{page.address}}" />
23     <meta name="latlng" content="{{page.latlng}}" />
24     <meta name="language" content="{{page.language}}" />
25     <meta name="eventbrite" content="{{page.eventbrite}}" />
26     <meta name="instructor" content="{{page.instructor|join:'|'}}" />
27     <meta name="helper" content="{{page.helper|join:'|'}}" />
28     <meta name="contact" content="{{page.contact}}" />
29     {% if page.redirect %}
30     <meta http-equiv="refresh" content="0; url={{page.redirect}}" />
31     {% endif %}
32
33     <meta charset="utf-8">
34     <meta http-equiv="X-UA-Compatible" content="IE=edge">
35     <meta http-equiv="last-modified" content="{{ site.time }}">
36     <meta name="viewport" content="width=device-width, initial-scale=1">
37     <link rel="stylesheet" type="text/css" href="{{ root }}/assets/css/bootstrap.css" />
38     <link rel="stylesheet" type="text/css" href="{{ root }}/assets/css/bootstrap-theme.css" />
39     <link rel="stylesheet" type="text/css" href="{{ root }}/assets/css/lesson.css" />
40     {% if site.carpentry == "swc" %}
41     <link rel="shortcut icon" type="image/x-icon" href="/favicon-swc.ico" />
42     {% endif %}
43     {% if site.carpentry == "dc" %}
44     <link rel="shortcut icon" type="image/x-icon" href="/favicon-dc.ico" />
45     {% endif %}
46     <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
47     <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
48     <!--[if lt IE 9]>
49         <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
50         <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
51         <![endif]-->
52     <title>{{ page.venue }}: {{ page.humandate }}</title>
53   </head>
54   <body>
55     <div class="container">
56       {% include navbar.html %}
57       {% include workshop_ad.html %}
58 {{ content }}
59       {% include workshop_footer.html %}
60     </div>
61     {% include javascript.html %}
62   </body>
63 </html>