Skip to content

Commit 4faea2b

Browse files
committed
Heading placement.
1 parent c961986 commit 4faea2b

2 files changed

Lines changed: 54 additions & 23 deletions

File tree

_config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,10 @@ exclude:
184184
- _pages/about_einstein.md
185185
# Temporarily hidden pages (remove from this list to re-enable):
186186
- _pages/blog.md
187+
# Exclude Twitter post that causes SSL errors during local build:
188+
- _posts/2020-09-28-twitter.md
189+
# Exclude Jupyter notebook that causes conversion errors:
190+
- assets/jupyter/
187191
- _pages/projects.md
188192
- _pages/repositories.md
189193
- _pages/teaching.md

_pages/talks.md

Lines changed: 50 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,58 @@ title: talks & activities
55
description: Conference and seminar talks, as well as conferences and workshops attended.
66
nav: true
77
nav_order: 3
8+
title_class: text-center
89
---
910

1011
<!-- _pages/talks.md -->
1112

12-
<div class="talks">
13-
{% for entry in site.data.talks %}
14-
<a class="anchor" id="{{ entry.title }}"></a>
15-
<div class="card mt-3 p-3">
16-
<h3 class="card-title font-weight-medium">{{ entry.title }}</h3>
17-
<div>
18-
{% if entry.type == 'list' %}
19-
{% include cv/list.liquid %}
20-
{% elsif entry.type == 'map' %}
21-
{% include cv/map.liquid %}
22-
{% elsif entry.type == 'nested_list' %}
23-
{% include cv/nested_list.liquid %}
24-
{% elsif entry.type == 'time_table' %}
25-
{% include cv/time_table.liquid %}
26-
{% elsif entry.type == 'list_groups' %}
27-
{% include cv/list_groups.liquid %}
28-
{% else %}
29-
{{ entry.contents }}
30-
{% endif %}
31-
</div>
32-
</div>
33-
{% endfor %}
34-
</div>
13+
{% assign talks_section = site.data.talks | where: "title", "Talks & Posters" | first %}
14+
{% if talks_section %}
15+
{% assign talks_list = talks_section.contents %}
16+
{% if talks_list and talks_list.size > 0 %}
17+
### talks and posters
18+
{% for activity in talks_list %}
19+
{% assign type_line = activity.description | first | default: '' | strip_html | strip %}
20+
{% assign cleaned_type = type_line | remove: 'Type:' | strip %}
21+
* {{ activity.year }} • **{{ activity.institution }}**{% if activity.location %}, {{ activity.location }}{% endif %}
22+
{% if cleaned_type != '' %}{{ cleaned_type }}{% endif %}{% if activity.linkitems %}
23+
{% for link in activity.linkitems %} • [[{{ link.linkname | downcase }}]]({{ link.link }}){% endfor %}{% endif %} • *{{ activity.title }}*
24+
{% endfor %}
25+
{% endif %}
26+
{% endif %}
3527

28+
{% assign events_section = site.data.talks | where: "title", "Attended Events" | first %}
29+
{% if events_section %}
30+
{% assign events_list = events_section.contents %}
31+
{% if events_list and events_list.size > 0 %}
32+
### event participation
33+
{% for activity in events_list %}
34+
* {{ activity.year }} • **{{ activity.title }}**{% if activity.institution %}, {{ activity.institution }}{% endif %}{% if activity.location %}, {{ activity.location }}{% endif %}
35+
{% endfor %}
36+
{% endif %}
37+
{% endif %}
38+
39+
{% assign seminars_section = site.data.talks | where: "title", "Seminar Talks" | first %}
40+
{% if seminars_section %}
41+
{% assign seminars_list = seminars_section.contents %}
42+
{% if seminars_list and seminars_list.size > 0 %}
43+
### seminar talks
44+
{% for activity in seminars_list %}
45+
* {{ activity.year }} • **{{ activity.institution }}**{% if activity.location %}, {{ activity.location }}{% endif %}
46+
{% if activity.linkitems %}
47+
{% for link in activity.linkitems %}• [[{{ link.linkname | downcase }}]]({{ link.link }}) {% endfor %}{% endif %}*{{ activity.title }}*
48+
{% endfor %}
49+
{% endif %}
50+
{% endif %}
51+
52+
{% assign stays_section = site.data.talks | where: "title", "Research Stays" | first %}
53+
{% if stays_section %}
54+
{% assign stays_list = stays_section.contents %}
55+
{% if stays_list and stays_list.size > 0 %}
56+
### research stays
57+
{% for stay in stays_list %}
58+
* {{ stay.year }} • **{{ stay.institution }}**{% if stay.location %}, {{ stay.location }}{% endif %}
59+
{% if stay.description %}{{ stay.description | join: ' • ' }}{% endif %}
60+
{% endfor %}
61+
{% endif %}
62+
{% endif %}

0 commit comments

Comments
 (0)