forked from alexandria-sakrejda/reichlab.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
teaching.html
74 lines (69 loc) · 2.1 KB
/
teaching.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
layout: default
---
<h1>Teaching</h1>
{% for item in page.items %}
<div class="columns">
<div class="column col-12">
<a href="#{{ item.id }}">
<h2 id="{{ item.id }}" class="theme-title">
{{ item.title }}
</h2>
</a>
</div>
<div class="column col-6 col-md-12">
<div>{{ item.content }}</div>
{% if item.publications %}
<br>
<div>
<a href="/publications#{{ item.publications }}"
class="btn btn-sm btn-default">
View publications
</a>
</div>
{% endif %}
</div>
<div class="column col-6 col-md-12">
<img class="img-responsive theme-image" src="{{ item.image }}" alt="">
</div>
</div>
<div class="project-section-divider divider" data-content="LINKS"></div>
<div class="columns project-container">
{% for project in item.projects %}
<div class="column col-6 col-md-12">
<div class="card project-entry">
<div class="card-header">
<h6 class="project-title">
{% if project.url %}
<a href="{{ project.url }}">{% if project.commit %}<i class="fa fa-github-alt"></i> / {% endif %}{{ project.title }}</a>
{% else %}
{{ project.title }}
{% endif %}
</h6>
</div>
<div class="card-body project-description">
{{ project.description }}
</div>
{% if project.commit %}
<div class="card-footer">
<small class="label">
Updated by
{% if project.commit.author_url %}
<a href="{{ project.commit.author_url }}">
{{ project.commit.author }}
</a>
{% else %}
{{ project.commit.author }}
{% endif %}
on
<a href="{{ project.commit.url }}">
{{ project.commit.date }}
</a>
</small>
</div>
{% endif %}
</div>
</div>
{% endfor %}
</div>
{% endfor %}