forked from mfcovington/BIS180L_web
-
Notifications
You must be signed in to change notification settings - Fork 3
/
slides.html
40 lines (35 loc) · 1023 Bytes
/
slides.html
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
---
layout: page
title: Slides
---
<table class="slides">
<thead>
<tr>
<th class="date-col">Date</th>
<th class="topic-col">Topic</th>
<th class="links-col">Links</th>
</tr>
</thead>
<tbody>
{% for post in site.posts %}
{% if post.slides %}
{% for slide in post.slides %}
{% if slide.date %}
<tr>
<td class="date-cell">{{ slide.date }}</td>
<td class="topic-cell">{{ slide.topic }}</td>
<td class="links-cell">
{% if slide.html %}
<a href="{{ site.baseurl }}/slides/{{ slide.html }}" target="_blank">html</a>
{% endif %}
{% if slide.pdf %}
<a href="{{ site.baseurl }}/slides/{{ slide.pdf }}" target="_blank">pdf</a>
{% endif %}
</td>
</tr>
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
</tbody>
</table>