-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpresentations.html
More file actions
58 lines (50 loc) · 3.13 KB
/
Copy pathpresentations.html
File metadata and controls
58 lines (50 loc) · 3.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
layout: default
title: Presentations
permalink: /presentations/
description: BIOCODES talks, posters, and flash talks — viewable and downloadable, licensed under CC BY 4.0.
---
<section class="section" id="presentations" style="padding-top: 120px;">
<div class="container">
<p class="section-eyebrow">{{ site.data.presentations.section_eyebrow }}</p>
<h1 class="section-title">{{ site.data.presentations.section_title }}</h1>
<p class="section-sub">{{ site.data.presentations.section_sub }}</p>
<div class="pres-grid">
{% for p in site.data.presentations.presentations %}
{% assign pdf = p.file | prepend: '/assets/presentations/' | relative_url %}
{% if p.thumb %}{% assign thumb = p.thumb | prepend: '/assets/presentations/thumbs/' | relative_url %}{% else %}{% assign thumb = p.file | replace: '.pdf', '.png' | prepend: '/assets/presentations/thumbs/' | relative_url %}{% endif %}
<article class="pres-card">
<a class="pres-preview" href="{{ pdf }}" target="_blank" rel="noopener" aria-label="View {{ p.title }}">
<img src="{{ thumb }}" loading="lazy" alt="First slide of {{ p.title }}">
<span class="pres-preview-hint">Open full ↗</span>
</a>
<div class="pres-body">
<div class="pres-meta-top">
<span class="pres-type pres-type-{{ p.type | slugify }}">{{ p.type }}</span>
{% if p.date_display %}<span class="pres-date">{{ p.date_display }}</span>{% endif %}
</div>
<h3 class="pres-title">{{ p.title }}</h3>
<p class="pres-event">
{% if p.event_url %}<a href="{{ p.event_url }}" target="_blank" rel="noopener">{{ p.event }}</a>{% else %}{{ p.event }}{% endif %}
</p>
<p class="pres-presenter">{{ p.presenter }}{% if p.affiliation %} · {{ p.affiliation }}{% endif %}</p>
<div class="pres-actions">
<a class="btn btn-primary btn-sm" href="{{ pdf }}" target="_blank" rel="noopener">View</a>
<a class="btn btn-outline btn-sm" href="{{ pdf }}" download>Download PDF</a>
</div>
<p class="pres-license">
© {{ p.license_year }} {{ p.presenter }}, BIOCODES Project.
Licensed under
<a href="{{ site.data.presentations.license_url }}" target="_blank" rel="noopener">{{ site.data.presentations.license_name }}</a>.
</p>
</div>
</article>
{% endfor %}
</div>
<p class="pres-footnote">
All presentations on this page are licensed under
<a href="{{ site.data.presentations.license_url }}" target="_blank" rel="noopener">Creative Commons Attribution 4.0 International (CC BY 4.0)</a>.
You are free to share and adapt the material, provided you give appropriate credit to the BIOCODES project and its authors.
</p>
</div>
</section>