janispagel.de

Source code for https://janispagel.de
git clone git://git.janispagel.de/janispagel.de.git
Log | Files | Refs | README | LICENSE

commit 4d4a201ea47135f815cc89148fccc776d615e523
parent 44bbe0037593c552ab8198585f8a40a0384d914c
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Fri, 11 Dec 2020 10:12:56 +0100

Add possibility to have dead links in course data

Diffstat:
M_data/courses.yml | 2+-
M_includes/course.md | 2+-
Mteaching.md | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/_data/courses.yml b/_data/courses.yml @@ -31,7 +31,7 @@ external: - title: "Vom Phänomen zur Analyse – ein CRETA-Workshop zur reflektierten Operationalisierung in den DH" venue: name: DHd 2020 - link: https://dhd2020.de/ + deadlink: https://dhd2020.de/ date: March 03, 2020 year: 2020 lang: de diff --git a/_includes/course.md b/_includes/course.md @@ -5,4 +5,4 @@ {% assign inst = c.inst %} {% endif %} -{{c.date}}: **{{ c.title }}** at {% if c.venue.link %}[{{c.venue.name}}]({{c.venue.link}}){% else %}{{c.venue.name}}{% endif %}{% if c.inst %}, {% if inst.link %}[{{inst.name}}]({{inst.link}}){% else %}{{inst.name}}{% if inst.city %}, {{inst.city}}{% if inst.country %}, {{inst.country}}{% endif %}{% endif %}{% endif %}{% endif %}. {% if c.program %} ({{ c.program | join: ", " }}). {% endif %}{% if c.with %}Taught jointly with {{c.with | join: ", " }}.{% endif %}<br/>{% if c.material %}[[material]]({{c.material}}){% endif %} +{{c.date}}: **{{ c.title }}** at {% if c.venue.link %}[{{c.venue.name}}]({{c.venue.link}}){% elsif c.venue.deadlink %}{{c.venue.name}} ({{c.venue.deadlink}}){% else %}{{c.venue.name}}{% endif %}{% if c.inst %}, {% if inst.link %}[{{inst.name}}]({{inst.link}}){% else %}{{inst.name}}{% if inst.city %}, {{inst.city}}{% if inst.country %}, {{inst.country}}{% endif %}{% endif %}{% endif %}{% endif %}. {% if c.program %} ({{ c.program | join: ", " }}). {% endif %}{% if c.with %}Taught jointly with {{c.with | join: ", " }}.{% endif %}<br/>{% if c.material %}[[material]]({{c.material}}){% endif %} diff --git a/teaching.md b/teaching.md @@ -29,5 +29,5 @@ permalink: /teaching/ {% assign inst = c.inst %} {% endif %} - ### {{ c.year }} - - {{c.date}}: **{{ c.title }}** at {% if c.venue.link %}[{{c.venue.name}}]({{c.venue.link}}){% else %}{{c.venue.name}}{% endif %}{% if c.inst %}, {% if inst.link %}[{{inst.name}}]({{inst.link}}){% else %}{{inst.name}}{% endif %}{% if inst.city %}, {{inst.city}}{% endif %}{% if inst.country %}, {{inst.country}}{% endif %}{% endif %}. {% if c.program %} ({{ c.program | join: ", " }}). {% endif %}{% if c.with %}Taught jointly with {{c.with | join: ", " }}.{% endif %}<br/>{% if c.material %}[[material]]({{c.material}}){% endif %} + - {{c.date}}: **{{ c.title }}** at {% if c.venue.link %}[{{c.venue.name}}]({{c.venue.link}}){% elsif c.venue.deadlink %}{{c.venue.name}} ({{c.venue.deadlink}}){% else %}{{c.venue.name}}{% endif %}{% if c.inst %}, {% if inst.link %}[{{inst.name}}]({{inst.link}}){% else %}{{inst.name}}{% endif %}{% if inst.city %}, {{inst.city}}{% endif %}{% if inst.country %}, {{inst.country}}{% endif %}{% endif %}. {% if c.program %} ({{ c.program | join: ", " }}). {% endif %}{% if c.with %}Taught jointly with {{c.with | join: ", " }}.{% endif %}<br/>{% if c.material %}[[material]]({{c.material}}){% endif %} {% endfor %}