ols-theme 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. metadata +5 -85
  3. data/LICENSE.txt +0 -21
  4. data/README.md +0 -50
  5. data/_includes/default-footer.html +0 -56
  6. data/_includes/default-header.html +0 -81
  7. data/_includes/detailed-schedule.md +0 -11
  8. data/_includes/external-entities.html +0 -43
  9. data/_includes/overall-schedule.md +0 -27
  10. data/_includes/people.html +0 -89
  11. data/_includes/schedule.md +0 -2
  12. data/_includes/timeline.md +0 -24
  13. data/_includes/toc.html +0 -12
  14. data/_includes/week.md +0 -50
  15. data/_layouts/base.html +0 -66
  16. data/_layouts/default.html +0 -37
  17. data/_layouts/links.html +0 -23
  18. data/_layouts/page.html +0 -9
  19. data/_layouts/people.html +0 -373
  20. data/_layouts/post.html +0 -5
  21. data/_layouts/posts.html +0 -51
  22. data/_sass/bulma/CHANGELOG.md +0 -1254
  23. data/_sass/bulma/LICENSE +0 -21
  24. data/_sass/bulma/README.md +0 -124
  25. data/_sass/bulma/bulma.sass +0 -9
  26. data/_sass/bulma/css/bulma.css +0 -10599
  27. data/_sass/bulma/css/bulma.css.map +0 -1
  28. data/_sass/bulma/css/bulma.min.css +0 -1
  29. data/_sass/bulma/package.json +0 -52
  30. data/_sass/bulma/sass/base/_all.sass +0 -5
  31. data/_sass/bulma/sass/base/generic.sass +0 -142
  32. data/_sass/bulma/sass/base/helpers.sass +0 -281
  33. data/_sass/bulma/sass/base/minireset.sass +0 -85
  34. data/_sass/bulma/sass/components/_all.sass +0 -15
  35. data/_sass/bulma/sass/components/breadcrumb.sass +0 -75
  36. data/_sass/bulma/sass/components/card.sass +0 -79
  37. data/_sass/bulma/sass/components/dropdown.sass +0 -81
  38. data/_sass/bulma/sass/components/level.sass +0 -77
  39. data/_sass/bulma/sass/components/list.sass +0 -39
  40. data/_sass/bulma/sass/components/media.sass +0 -48
  41. data/_sass/bulma/sass/components/menu.sass +0 -57
  42. data/_sass/bulma/sass/components/message.sass +0 -87
  43. data/_sass/bulma/sass/components/modal.sass +0 -113
  44. data/_sass/bulma/sass/components/navbar.sass +0 -443
  45. data/_sass/bulma/sass/components/pagination.sass +0 -149
  46. data/_sass/bulma/sass/components/panel.sass +0 -103
  47. data/_sass/bulma/sass/components/tabs.sass +0 -151
  48. data/_sass/bulma/sass/elements/_all.sass +0 -15
  49. data/_sass/bulma/sass/elements/box.sass +0 -24
  50. data/_sass/bulma/sass/elements/button.sass +0 -305
  51. data/_sass/bulma/sass/elements/container.sass +0 -23
  52. data/_sass/bulma/sass/elements/content.sass +0 -155
  53. data/_sass/bulma/sass/elements/form.sass +0 -1
  54. data/_sass/bulma/sass/elements/icon.sass +0 -21
  55. data/_sass/bulma/sass/elements/image.sass +0 -69
  56. data/_sass/bulma/sass/elements/notification.sass +0 -35
  57. data/_sass/bulma/sass/elements/other.sass +0 -39
  58. data/_sass/bulma/sass/elements/progress.sass +0 -67
  59. data/_sass/bulma/sass/elements/table.sass +0 -127
  60. data/_sass/bulma/sass/elements/tag.sass +0 -121
  61. data/_sass/bulma/sass/elements/title.sass +0 -70
  62. data/_sass/bulma/sass/form/_all.sass +0 -8
  63. data/_sass/bulma/sass/form/checkbox-radio.sass +0 -21
  64. data/_sass/bulma/sass/form/file.sass +0 -180
  65. data/_sass/bulma/sass/form/input-textarea.sass +0 -60
  66. data/_sass/bulma/sass/form/select.sass +0 -85
  67. data/_sass/bulma/sass/form/shared.sass +0 -55
  68. data/_sass/bulma/sass/form/tools.sass +0 -205
  69. data/_sass/bulma/sass/grid/_all.sass +0 -4
  70. data/_sass/bulma/sass/grid/columns.sass +0 -504
  71. data/_sass/bulma/sass/grid/tiles.sass +0 -34
  72. data/_sass/bulma/sass/layout/_all.sass +0 -5
  73. data/_sass/bulma/sass/layout/footer.sass +0 -9
  74. data/_sass/bulma/sass/layout/hero.sass +0 -143
  75. data/_sass/bulma/sass/layout/section.sass +0 -13
  76. data/_sass/bulma/sass/utilities/_all.sass +0 -8
  77. data/_sass/bulma/sass/utilities/animations.sass +0 -5
  78. data/_sass/bulma/sass/utilities/controls.sass +0 -50
  79. data/_sass/bulma/sass/utilities/derived-variables.sass +0 -85
  80. data/_sass/bulma/sass/utilities/functions.sass +0 -62
  81. data/_sass/bulma/sass/utilities/initial-variables.sass +0 -76
  82. data/_sass/bulma/sass/utilities/mixins.sass +0 -261
data/_layouts/base.html DELETED
@@ -1,66 +0,0 @@
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 name="viewport" content="width=device-width, initial-scale=1">
9
- <title>{{ page.title }} | {{ site.title }}</title>
10
- {% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %}
11
- <link href="{{ site.baseurl }}/assets/css/custom.css" rel="stylesheet" type="text/css">
12
- <link rel="stylesheet" href="https://cdn.rawgit.com/jpswalsh/academicons/master/css/academicons.min.css">
13
- <!--Below is the schema annotation for blogposts-->
14
- {% if page.layout == 'post' %}
15
- <script type="application/ld+json">
16
- {
17
- "@context": "https://schema.org",
18
- "@type": "BlogPosting",
19
- "mainEntityOfPage": {
20
- "@type": "WebPage",
21
- "@id": "{{ site.url }}/posts/"
22
- },
23
- "headline": "{{ page.title }}",
24
- "description": "{{ page.excerpt | strip_html | strip_newlines | truncate: 200 }}",
25
- "image": "{{ page.image }}",
26
- "author": [
27
- {%- for author in page.authors -%}
28
- {
29
- "@type": "Person",
30
- "name": "{{ site.data.people[author].first-name }} {{ site.data.people[author].last-name }}",
31
- "url": "{{ site.url }}/people#{{ author }}"
32
- {%- if forloop.last -%}
33
- }
34
- {%- else -%}
35
- },
36
- {% endif %}
37
- {%- endfor -%}],
38
- "publisher": {
39
- "@type": "Organization",
40
- "name": "Open Life Science",
41
- "url": "{{ site.url }}",
42
- "logo": {
43
- "@type": "ImageObject",
44
- "url": "{{ site.url }}/images/logo.png"
45
- }
46
- },
47
- "datePublished": "{{ page.date | date: "%Y-%m-%d" }}"
48
- }
49
- </script>
50
- {% endif %}
51
- </head>
52
-
53
- <body>
54
- {% include _includes/default-header.html %}
55
- {{ content }}
56
- {% include _includes/default-footer.html %}
57
-
58
-
59
- <script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
60
- <script src="{{ site.baseurl }}/assets/js/scripts.js"></script>
61
- <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
62
- {% if page.layout == 'posts' %}
63
- <script src="{{ site.baseurl }}/assets/js/posts.js"></script>
64
- {% endif %}
65
- </body>
66
- </html>
@@ -1,37 +0,0 @@
1
- ---
2
- layout: base
3
- ---
4
-
5
- {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
6
-
7
- <section class="hero {% unless page.image %} no-image{% endunless %}"{% if page.image %} style="background-image: linear-gradient(to top, #000, transparent), url({{ page.image }});"{% endif %}>
8
- <div class="hero-body">
9
- <h1 class="title is-1">{{ page.title }}</h1>
10
-
11
- {% if page.description %}
12
- <p class="subtitle is-3">{{ page.description }}</p>
13
- {% endif %}
14
-
15
- {% if page.layout == 'post' %}
16
- {% capture authors %}
17
- {% for id in page.authors %}, {% assign name = site.data['people'][id].first-name | default: id %}<a href="/people#{{ id }}">{{ name }}</a>{% endfor %}
18
- {% endcapture %}
19
- <p class="subtitle is-5">
20
- <time datetime="{{ page.date | date: date_format }}">{{ page.date | date: date_format }}</time>
21
- - {{ authors | remove_first: ', ' | strip }}
22
- </p>
23
- {% endif %}
24
- </div>
25
-
26
- {% if page.photos %}
27
- <div class="hero-foot">
28
- <p class="credit"><a href="{{ page.photos.link }}">{{ page.photos.name }}</a> ({{ page.photos.license }})</p>
29
- </div>
30
- {% endif %}
31
- </section>
32
-
33
- <section class="section">
34
- <div class="container content {{ layout.css }} {{ page.css }}">
35
- {{ content }}
36
- </div>
37
- </section>
data/_layouts/links.html DELETED
@@ -1,23 +0,0 @@
1
- ---
2
- layout: base
3
- ---
4
-
5
- <div class="container is-fullhd links">
6
- <section class="hero link-hero">
7
- <div class="hero-body">
8
- <a href="/" class="logo">
9
- <img src="/images/logo.png" alt="logo of OLS">
10
- </a>
11
- {{ site.data.links.description | markdownify }}
12
- </div>
13
- </section>
14
-
15
- <section class="section">
16
- {% for item in site.data.links.items %}
17
- <a href="{{ item.link }}" class="button is-link is-medium is-fullwidth">
18
- {% if item.icon %}<i class="icon {{ item.icon }}"></i>{% endif %}
19
- &nbsp;&nbsp;&nbsp;&nbsp;{{ item.text }}
20
- </a>
21
- {% endfor %}
22
- </section>
23
- </div>
data/_layouts/page.html DELETED
@@ -1,9 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- <section>
6
- <div class="article-post">
7
- {{content}}
8
- </div>
9
- </section>
data/_layouts/people.html DELETED
@@ -1,373 +0,0 @@
1
- ---
2
- layout: page
3
- ---
4
-
5
- Thank You! to the {{ site.data.people | size }} awesome people who participate in or contribute to OLS!
6
-
7
- <div class="community">
8
- {% for user in site.data.people %}
9
- {% assign username = user[0] %}
10
- {% assign details = user[1] %}
11
- <div class="card people-card">
12
- <div class="card-content">
13
- <div class="media">
14
- <div class="media-left people-card-avatar">
15
- <figure class="image is-48x48">
16
- <a href="#{{ username }}">
17
- <img
18
- class="is-rounded"
19
- src="https://avatars.githubusercontent.com/{{ username }}"
20
- alt="The GitHub avatar of {{ details.name }}"/>
21
- </a>
22
- </figure>
23
- </div>
24
- </div>
25
- </div>
26
- </div>
27
- {% endfor %}
28
- </div>
29
-
30
- <h2>Get involved</h2>
31
-
32
- If you think you can help then please check out <a href="{{ site.github.repository_url }}/blob/master/CONTRIBUTING.md">our contributors' guidelines</a> and
33
- our <a href="{{ site.github.repository_url }}/projects">project board</a>.
34
-
35
- Please note that it's very important to us that we maintain a positive and
36
- supportive environment for everyone who wants to participate. When you join us
37
- we ask that you follow our <a href="/code-of-conduct">code of conduct</a> in all interactions both on and offline.
38
-
39
- <h2>Details</h2>
40
-
41
- <!-- OLS-1 -->
42
- <!-- extract participants and mentors -->
43
- {% assign ols-1-projects = site.data.ols-1-projects %}
44
- {% assign ols-1-participants = '' %}
45
- {% assign ols-1-mentors = '' %}
46
- {% for project in ols-1-projects %}
47
- {% for p in project.participants %}
48
- {% capture ols-1-participants %}{{ ols-1-participants }} {{ p }}{% endcapture %}
49
- {% endfor %}
50
- {% for m in project.mentors %}
51
- {% capture ols-1-mentors %}{{ ols-1-mentors }} {{ m }}{% endcapture %}
52
- {% endfor %}
53
- {% endfor %}
54
- <!-- extract experts and organizers -->
55
- {% assign ols-1-experts = site.data.ols-1-metadata.experts | join: ' ' %}
56
- {% assign ols-1-organizers = site.data.ols-1-metadata.organizers | join: ' ' %}
57
- <!-- extract speakers -->
58
- {% assign ols-1-speakers = '' %}
59
- {% assign ols-1-hosts = '' %}
60
- {% for w in site.data.ols-1-schedule %}
61
- {% for c in w[1].calls %}
62
- {% if c.type == 'Cohort' %}
63
- {% for r in c.resources %}
64
- {% if r.type == 'slides' and r.speaker %}
65
- {% capture ols-1-speakers %}{{ ols-1-speakers}} {{ r.speaker }}{% endcapture %}
66
- {% endif %}
67
- {% endfor %}
68
- {% endif %}
69
- {% endfor %}
70
- {% endfor %}
71
- <!-- combine all -->
72
- {% capture ols-1-people %}{{ ols-1-participants }} {{ ols-1-experts }} {{ ols-1-mentors }} {{ ols-1-organizers }} {{ ols-1-speakers }}{% endcapture %}
73
-
74
- <!-- OLS-2 -->
75
- <!-- extract participants and mentors -->
76
- {% assign ols-2-projects = site.data.ols-2-projects %}
77
- {% assign ols-2-participants = '' %}
78
- {% assign ols-2-mentors = '' %}
79
- {% for project in ols-2-projects %}
80
- {% for p in project.participants %}
81
- {% capture ols-2-participants %}{{ ols-2-participants }} {{ p }}{% endcapture %}
82
- {% endfor %}
83
- {% for m in project.mentors %}
84
- {% capture ols-2-mentors %}{{ ols-2-mentors }} {{ m }}{% endcapture %}
85
- {% endfor %}
86
- {% endfor %}
87
- <!-- extract experts and organizers -->
88
- {% assign ols-2-experts = site.data.ols-2-metadata.experts %}
89
- {% assign ols-2-organizers = site.data.ols-2-metadata.organizers %}
90
- <!-- extract speakers -->
91
- {% assign ols-2-speakers = '' %}
92
- {% assign ols-2-hosts = '' %}
93
- {% for w in site.data.ols-2-schedule %}
94
- {% for c in w[1].calls %}
95
- {% if c.type == 'Cohort' %}
96
- {% for r in c.resources %}
97
- {% if r.type == 'slides' and r.speaker %}
98
- {% capture ols-2-speakers %}{{ ols-2-speakers}} {{ r.speaker }}{% endcapture %}
99
- {% endif %}
100
- {% endfor %}
101
- {% endif %}
102
- {% endfor %}
103
- {% endfor %}
104
- <!-- combine all -->
105
- {% capture ols-2-people %}{{ ols-2-participants }} {{ ols-2-experts }} {{ ols-2-mentors }} {{ ols-2-organizers }} {{ ols-2-speakers }}{% endcapture %}
106
-
107
- <!-- OLS-3 -->
108
- <!-- extract participants and mentors -->
109
- {% assign ols-3-projects = site.data.ols-3-projects %}
110
- {% assign ols-3-participants = '' %}
111
- {% assign ols-3-mentors = '' %}
112
- {% for project in ols-3-projects %}
113
- {% for p in project.participants %}
114
- {% capture ols-3-participants %}{{ ols-3-participants }} {{ p }}{% endcapture %}
115
- {% endfor %}
116
- {% for m in project.mentors %}
117
- {% capture ols-3-mentors %}{{ ols-3-mentors }} {{ m }}{% endcapture %}
118
- {% endfor %}
119
- {% endfor %}
120
- <!-- extract experts and organizers -->
121
- {% assign ols-3-experts = site.data.ols-3-metadata.experts %}
122
- {% assign ols-3-facilitators = site.data.ols-3-metadata.facilitators %}
123
- {% assign ols-3-organizers = site.data.ols-3-metadata.organizers %}
124
- <!-- extract speakers and call facilitators -->
125
- {% assign ols-3-speakers = '' %}
126
- {% for w in site.data.ols-3-schedule %}
127
- {% for c in w[1].calls %}
128
- {% if c.type == 'Cohort' %}
129
- {% for r in c.resources %}
130
- {% if r.type == 'slides' and r.speaker %}
131
- {% capture ols-3-speakers %}{{ ols-3-speakers}} {{ r.speaker }}{% endcapture %}
132
- {% endif %}
133
- {% endfor %}
134
- {% endif %}
135
- {% endfor %}
136
- {% endfor %}
137
- <!-- combine all -->
138
- {% capture ols-3-people %}{{ ols-3-participants }} {{ ols-3-experts }} {{ ols-3-mentors }} {{ ols-3-organizers }} {{ ols-3-speakers }} {{ ols-3-facilitators }}{% endcapture %}
139
-
140
- <!-- OLS-4 -->
141
- <!-- extract participants and mentors -->
142
- {% assign ols-4-projects = site.data.ols-4-projects %}
143
- {% assign ols-4-participants = '' %}
144
- {% assign ols-4-mentors = '' %}
145
- {% for project in ols-4-projects %}
146
- {% for p in project.participants %}
147
- {% capture ols-4-participants %}{{ ols-4-participants }} {{ p }}{% endcapture %}
148
- {% endfor %}
149
- {% for m in project.mentors %}
150
- {% capture ols-4-mentors %}{{ ols-4-mentors }} {{ m }}{% endcapture %}
151
- {% endfor %}
152
- {% endfor %}
153
- <!-- extract experts and organizers -->
154
- {% assign ols-4-experts = site.data.ols-4-metadata.experts %}
155
- {% assign ols-4-facilitators = site.data.ols-4-metadata.facilitators %}
156
- {% assign ols-4-organizers = site.data.ols-4-metadata.organizers %}
157
- <!-- extract speakers and call facilitators -->
158
- {% assign ols-4-speakers = '' %}
159
- {% for w in site.data.ols-4-schedule %}
160
- {% for c in w[1].calls %}
161
- {% if c.type == 'Cohort' %}
162
- {% for r in c.resources %}
163
- {% if r.type == 'slides' and r.speaker %}
164
- {% capture ols-4-speakers %}{{ ols-4-speakers}} {{ r.speaker }}{% endcapture %}
165
- {% endif %}
166
- {% endfor %}
167
- {% endif %}
168
- {% endfor %}
169
- {% endfor %}
170
- <!-- combine all -->
171
- {% capture ols-4-people %}{{ ols-4-participants }} {{ ols-4-experts }} {{ ols-4-mentors }} {{ ols-4-organizers }} {{ ols-4-speakers }} {{ ols-4-facilitators }}{% endcapture %}
172
-
173
- <!-- OLS-5 -->
174
- <!-- extract participants and mentors -->
175
- {% assign ols-5-projects = site.data.ols-5-projects %}
176
- {% assign ols-5-participants = '' %}
177
- {% assign ols-5-mentors = '' %}
178
- {% for project in ols-5-projects %}
179
- {% for p in project.participants %}
180
- {% capture ols-5-participants %}{{ ols-5-participants }} {{ p }}{% endcapture %}
181
- {% endfor %}
182
- {% for m in project.mentors %}
183
- {% capture ols-5-mentors %}{{ ols-5-mentors }} {{ m }}{% endcapture %}
184
- {% endfor %}
185
- {% endfor %}
186
- <!-- extract experts and organizers -->
187
- {% assign ols-5-experts = site.data.ols-5-metadata.experts %}
188
- {% assign ols-5-facilitators = site.data.ols-5-metadata.facilitators %}
189
- {% assign ols-5-organizers = site.data.ols-5-metadata.organizers %}
190
- <!-- extract speakers and call facilitators -->
191
- {% assign ols-5-speakers = '' %}
192
- {% for w in site.data.ols-5-schedule %}
193
- {% for c in w[1].calls %}
194
- {% if c.type == 'Cohort' %}
195
- {% for r in c.resources %}
196
- {% if r.type == 'slides' and r.speaker %}
197
- {% capture ols-5-speakers %}{{ ols-5-speakers}} {{ r.speaker }}{% endcapture %}
198
- {% endif %}
199
- {% endfor %}
200
- {% endif %}
201
- {% endfor %}
202
- {% endfor %}
203
- <!-- combine all -->
204
- {% capture ols-5-people %}{{ ols-5-participants }} {{ ols-5-experts }} {{ ols-5-mentors }} {{ ols-5-organizers }} {{ ols-5-speakers }} {{ ols-5-facilitators }}{% endcapture %}
205
-
206
- <!-- OLS-6 -->
207
- <!-- extract participants and mentors -->
208
- {% assign ols-6-projects = site.data.ols-6-projects %}
209
- {% assign ols-6-participants = '' %}
210
- {% assign ols-6-mentors = '' %}
211
- {% for project in ols-6-projects %}
212
- {% for p in project.participants %}
213
- {% capture ols-6-participants %}{{ ols-6-participants }} {{ p }}{% endcapture %}
214
- {% endfor %}
215
- {% for m in project.mentors %}
216
- {% capture ols-6-mentors %}{{ ols-6-mentors }} {{ m }}{% endcapture %}
217
- {% endfor %}
218
- {% endfor %}
219
- <!-- extract experts and organizers -->
220
- {% assign ols-6-experts = site.data.ols-6-metadata.experts %}
221
- {% assign ols-6-facilitators = site.data.ols-6-metadata.facilitators %}
222
- {% assign ols-6-organizers = site.data.ols-6-metadata.organizers %}
223
- <!-- extract speakers and call facilitators -->
224
- {% assign ols-6-speakers = '' %}
225
- {% for w in site.data.ols-6-schedule %}
226
- {% for c in w[1].calls %}
227
- {% if c.type == 'Cohort' %}
228
- {% for r in c.resources %}
229
- {% if r.type == 'slides' and r.speaker %}
230
- {% capture ols-6-speakers %}{{ ols-6-speakers}} {{ r.speaker }}{% endcapture %}
231
- {% endif %}
232
- {% endfor %}
233
- {% endif %}
234
- {% endfor %}
235
- {% endfor %}
236
- <!-- combine all -->
237
- {% capture ols-6-people %}{{ ols-6-participants }} {{ ols-6-experts }} {{ ols-6-mentors }} {{ ols-6-organizers }} {{ ols-6-speakers }} {{ ols-6-facilitators }}{% endcapture %}
238
-
239
- <div class="people">
240
- {% for entry in site.data.people %}
241
- {% assign username = entry[0] %}
242
- {% assign user = entry[1] %}
243
- {% assign ols-roles = '' %}
244
- {% if ols-1-people contains username %}
245
- {% assign roles = '' %}
246
- {% if ols-1-participants contains username %}
247
- {% capture roles %}{{ roles }}, project lead{% endcapture %}
248
- {% endif %}
249
- {% if ols-1-mentors contains username %}
250
- {% capture roles %}{{ roles }}, mentor{% endcapture %}
251
- {% endif %}
252
- {% if ols-1-experts contains username %}
253
- {% capture roles %}{{ roles }}, expert{% endcapture %}
254
- {% endif %}
255
- {% if ols-1-speakers contains username %}
256
- {% capture roles %}{{ roles }}, speaker{% endcapture %}
257
- {% endif %}
258
- {% if ols-1-organizers contains username %}
259
- {% capture roles %}{{ roles }}, organizer{% endcapture %}
260
- {% endif %}
261
- {% capture ols-roles %}{{ ols-roles }} / OLS-1 {{ roles | remove_first: ', ' }}{% endcapture %}
262
- {% endif %}
263
- {% if ols-2-people contains username %}
264
- {% assign roles = '' %}
265
- {% if ols-2-participants contains username %}
266
- {% capture roles %}{{ roles }}, project lead{% endcapture %}
267
- {% endif %}
268
- {% if ols-2-mentors contains username %}
269
- {% capture roles %}{{ roles }}, mentor{% endcapture %}
270
- {% endif %}
271
- {% if ols-2-experts contains username %}
272
- {% capture roles %}{{ roles }}, expert{% endcapture %}
273
- {% endif %}
274
- {% if ols-2-speakers contains username %}
275
- {% capture roles %}{{ roles }}, speaker{% endcapture %}
276
- {% endif %}
277
- {% if ols-2-organizers contains username %}
278
- {% capture roles %}{{ roles }}, organizer{% endcapture %}
279
- {% endif %}
280
- {% capture ols-roles %}{{ ols-roles }} / OLS-2 {{ roles | remove_first: ', ' }}{% endcapture %}
281
- {% endif %}
282
- {% if ols-3-people contains username %}
283
- {% assign roles = '' %}
284
- {% if ols-3-participants contains username %}
285
- {% capture roles %}{{ roles }}, project lead{% endcapture %}
286
- {% endif %}
287
- {% if ols-3-mentors contains username %}
288
- {% capture roles %}{{ roles }}, mentor{% endcapture %}
289
- {% endif %}
290
- {% if ols-3-experts contains username %}
291
- {% capture roles %}{{ roles }}, expert{% endcapture %}
292
- {% endif %}
293
- {% if ols-3-speakers contains username %}
294
- {% capture roles %}{{ roles }}, speaker{% endcapture %}
295
- {% endif %}
296
- {% if ols-3-facilitators contains username %}
297
- {% capture roles %}{{ roles }}, facilitator{% endcapture %}
298
- {% endif %}
299
- {% if ols-3-organizers contains username %}
300
- {% capture roles %}{{ roles }}, organizer{% endcapture %}
301
- {% endif %}
302
- {% capture ols-roles %}{{ ols-roles }} / OLS-3 {{ roles | remove_first: ', ' }}{% endcapture %}
303
- {% endif %}
304
- {% if ols-4-people contains username %}
305
- {% assign roles = '' %}
306
- {% if ols-4-participants contains username %}
307
- {% capture roles %}{{ roles }}, project lead{% endcapture %}
308
- {% endif %}
309
- {% if ols-4-mentors contains username %}
310
- {% capture roles %}{{ roles }}, mentor{% endcapture %}
311
- {% endif %}
312
- {% if ols-4-experts contains username %}
313
- {% capture roles %}{{ roles }}, expert{% endcapture %}
314
- {% endif %}
315
- {% if ols-4-speakers contains username %}
316
- {% capture roles %}{{ roles }}, speaker{% endcapture %}
317
- {% endif %}
318
- {% if ols-4-facilitators contains username %}
319
- {% capture roles %}{{ roles }}, facilitator{% endcapture %}
320
- {% endif %}
321
- {% if ols-4-organizers contains username %}
322
- {% capture roles %}{{ roles }}, organizer{% endcapture %}
323
- {% endif %}
324
- {% capture ols-roles %}{{ ols-roles }} / OLS-4 {{ roles | remove_first: ', ' }}{% endcapture %}
325
- {% endif %}
326
- {% if ols-5-people contains username %}
327
- {% assign roles = '' %}
328
- {% if ols-5-participants contains username %}
329
- {% capture roles %}{{ roles }}, project lead{% endcapture %}
330
- {% endif %}
331
- {% if ols-5-mentors contains username %}
332
- {% capture roles %}{{ roles }}, mentor{% endcapture %}
333
- {% endif %}
334
- {% if ols-5-experts contains username %}
335
- {% capture roles %}{{ roles }}, expert{% endcapture %}
336
- {% endif %}
337
- {% if ols-5-speakers contains username %}
338
- {% capture roles %}{{ roles }}, speaker{% endcapture %}
339
- {% endif %}
340
- {% if ols-5-facilitators contains username %}
341
- {% capture roles %}{{ roles }}, facilitator{% endcapture %}
342
- {% endif %}
343
- {% if ols-5-organizers contains username %}
344
- {% capture roles %}{{ roles }}, organizer{% endcapture %}
345
- {% endif %}
346
- {% capture ols-roles %}{{ ols-roles }} / OLS-5 {{ roles | remove_first: ', ' }}{% endcapture %}
347
- {% endif %}
348
- {% if ols-6-people contains username %}
349
- {% assign roles = '' %}
350
- {% if ols-6-participants contains username %}
351
- {% capture roles %}{{ roles }}, project lead{% endcapture %}
352
- {% endif %}
353
- {% if ols-6-mentors contains username %}
354
- {% capture roles %}{{ roles }}, mentor{% endcapture %}
355
- {% endif %}
356
- {% if ols-6-experts contains username %}
357
- {% capture roles %}{{ roles }}, expert{% endcapture %}
358
- {% endif %}
359
- {% if ols-6-speakers contains username %}
360
- {% capture roles %}{{ roles }}, speaker{% endcapture %}
361
- {% endif %}
362
- {% if ols-6-facilitators contains username %}
363
- {% capture roles %}{{ roles }}, facilitator{% endcapture %}
364
- {% endif %}
365
- {% if ols-6-organizers contains username %}
366
- {% capture roles %}{{ roles }}, organizer{% endcapture %}
367
- {% endif %}
368
- {% capture ols-roles %}{{ ols-roles }} / OLS-6 {{ roles | remove_first: ', ' }}{% endcapture %}
369
- {% endif %}
370
- {% assign ols-roles = ols-roles | remove_first: ' / ' %}
371
- {% include _includes/people.html username=username user=user ols-roles=ols-roles %}
372
- {% endfor %}
373
- </div>
data/_layouts/post.html DELETED
@@ -1,5 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- {{ content }}
data/_layouts/posts.html DELETED
@@ -1,51 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
- <div class="field">
5
- <p class="control has-icons-left">
6
- <input class="input is-medium is-focused" type="text" placeholder="Search stories" oninput="searchPosts()" id="searchbar">
7
- <span class="icon is-small is-left">
8
- <i class="fa fa-search"></i>
9
- </span>
10
- </p>
11
- </div>
12
-
13
- {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
14
-
15
- <div class="post">
16
- {% for post in site.posts %}
17
- {% capture authors %}
18
- {% for id in post.authors %}, {% assign name = site.data['people'][id].first-name | default: id %}<a href="/people#{{ id }}">{{ name }}</a>{% endfor %}
19
- {% endcapture %}
20
- <div class="card">
21
- {% if post.image %}
22
- <div class="card-image">
23
- <figure class="image">
24
- <img src="{{ post.image }}" alt="{{ post.title }}">
25
- </figure>
26
- </div>
27
- {% endif %}
28
-
29
- <div class="card-content">
30
- <div class="content">
31
- <div class="title">
32
- {% if post.external %}
33
- <a href="{{ post.external }}"><p>{{ post.title | escape }}</p></a>
34
- {% else %}
35
- <a href="{{ post.url }}">
36
- <p>{{ post.title | escape }}</p>
37
- </a>
38
- {% endif %}
39
- </div>
40
-
41
- <p class="subtitle">
42
- <time datetime="{{ post.date | date: date_format }}">{{ post.date | date: date_format }}</time>
43
- - {{ authors | remove_first: ', ' | strip }}
44
- </p>
45
-
46
- {{ post.excerpt }}
47
- </div>
48
- </div>
49
- </div>
50
- {% endfor %}
51
- </div>