Skip to content

Commit

Permalink
ics: make speaker name appear if title is "TBA"
Browse files Browse the repository at this point in the history
  • Loading branch information
ebousse committed Nov 17, 2023
1 parent 091aceb commit 6a8d352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion naomod_weekly_seminars.ics
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ BEGIN:VEVENT
UID:{{ post.date | date: "%Y%m%d" }}@naomod.github.io
ORGANIZER;CN=Erwan BOUSSE:mailto:[email protected]
LOCATION: See room reservation calendar.
SUMMARY:{{ post.title }}
SUMMARY:{% if post.title == "TBA" %}Talk by {{ post.speaker }}{% else %}{{ post.title }}{% endif %}
DESCRIPTION:Speaker: {{ post.speaker }}.\n\n{{ post.content | normalize_whitespace | strip }}
CLASS:PUBLIC
DTSTART;TZID=Europe/Paris:{{ post.date | date: "%Y%m%d" }}T{{post.start}}00
Expand Down

0 comments on commit 6a8d352

Please sign in to comment.