From 3e933bf0d906f5234336abff30bb4b9f014b7dbc Mon Sep 17 00:00:00 2001 From: Luca Date: Mon, 5 Sep 2022 16:08:30 +0200 Subject: [PATCH] Swap talk title and speakers --- assets/_schedule.scss | 3 ++- layouts/shortcodes/schedule.html | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/assets/_schedule.scss b/assets/_schedule.scss index b2b573a..edce23e 100644 --- a/assets/_schedule.scss +++ b/assets/_schedule.scss @@ -36,7 +36,8 @@ $timeslot-height: 0.65em; border-left: 1px solid $color-highlight; overflow: hidden; - .schedule-speaker, .schedule-title { + .schedule-speaker { + margin-bottom: 0.5em; overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap; diff --git a/layouts/shortcodes/schedule.html b/layouts/shortcodes/schedule.html index a633d1b..7248f57 100644 --- a/layouts/shortcodes/schedule.html +++ b/layouts/shortcodes/schedule.html @@ -38,8 +38,10 @@ {{ .end_time }}
+{{ with .speaker }} +

{{ . }}:

+{{ end }}

{{ .title }}

-

{{ .speaker }}

{{ end }}