commit 8a04ea1844a66c7982bdb3e868ae7b3ea77d0f5b
parent 4f0c618ec51b3e75bcab3f303c7fe778c7ef5b50
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date: Sat, 11 Jan 2020 18:09:06 +0100
Add year and term to courses
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/_data/courses.yml b/_data/courses.yml
@@ -33,6 +33,7 @@ external:
name: DHd 2020
link: https://dhd2020.de/
date: Date to be announced
+ year: 2020
lang: de
with:
- Nora Ketschik
@@ -46,6 +47,7 @@ external:
link: https://hch19.cl.uni-heidelberg.de
inst: heidelberg
date: July 15, 2019
+ year: 2019
lang: en
with:
- Nils Reiter
diff --git a/teaching.md b/teaching.md
@@ -8,11 +8,12 @@ permalink: /teaching/
{% assign courses = site.data.courses.regular | where: "inst", loc[0] %}
{% if courses.size > 0 and loc[1].include %}
-## [{{ loc[1].name }}]({{ loc[1].link }})
+## {{ loc[1].name }}
{% for c in courses %}
-- {{c.date}}: **{{ c.title }}** at {{ loc[1].name }} {% if c.role %} as a {{ c.role }}{% endif %}{% if c.program %} ({{ c.program | join: ", " }}){% endif %}. {% if c.with %}Taught jointly with {{c.with | join: ", " }}.{% endif %}
+### {{ c.date }}
+- **{{ c.title }}** {% if c.program %} ({{ c.program | join: ", " }}){% endif %} at [{{ loc[1].name }}]({{ loc[1].url }}){% if c.role %} as a {{ c.role }}{% endif %}. {% if c.with %}Taught jointly with {{c.with | join: ", " }}.{% endif %}
{% endfor %}
{% endif %}
@@ -22,5 +23,6 @@ permalink: /teaching/
{% assign courses = site.data.courses.external %}
{% for c in courses %}
+### {{ c.year }}
{% include course.md course=c %}
{% endfor %}