From b3c97d178eaeee507a1c94796120e5f2bd9acce5 Mon Sep 17 00:00:00 2001 From: Arne Brasseur Date: Sat, 6 Jul 2024 15:52:18 +0200 Subject: [PATCH] Add programme page --- _data/nav.yml | 2 ++ _includes/speaker.html | 32 +++++++++++++++++++++++ _includes/talks_page_talk.html | 22 ++++++++++++++++ _layouts/talk.html | 31 +--------------------- css/basics.css | 7 ----- css/front_page.css | 10 +++++++ css/talks.css | 48 +++++++++++++++++++++++++++------- talks.html | 43 ++++++++++++------------------ 8 files changed, 122 insertions(+), 73 deletions(-) create mode 100644 _includes/speaker.html create mode 100644 _includes/talks_page_talk.html diff --git a/_data/nav.yml b/_data/nav.yml index 727db62..ca455de 100644 --- a/_data/nav.yml +++ b/_data/nav.yml @@ -2,6 +2,8 @@ path: / - title: Location path: /location +- title: Programme + path: /programme - title: News path: https://gaiwan.co/tag/heart-of-clojure # - title: Speakers diff --git a/_includes/speaker.html b/_includes/speaker.html new file mode 100644 index 0000000..dd98733 --- /dev/null +++ b/_includes/speaker.html @@ -0,0 +1,32 @@ +
+ + + +
+ {% if speaker.personal-site-url %} + + {% endif %} + {% if speaker.mastodon %} + + {% endif %} + {% if speaker.twitter %} + + {% endif %} +
+
diff --git a/_includes/talks_page_talk.html b/_includes/talks_page_talk.html new file mode 100644 index 0000000..690efa9 --- /dev/null +++ b/_includes/talks_page_talk.html @@ -0,0 +1,22 @@ +
+
+

{{ talk.title }}

+
{{talk.type}}
+

{{ talk.abstract | markdownify}}

+
+
+
    + {% for speaker in talk.speakers %} +
  • + {% include speaker.html %} + + +
  • + {% endfor %} +
+
+
diff --git a/_layouts/talk.html b/_layouts/talk.html index 0e5f6fb..5418a86 100644 --- a/_layouts/talk.html +++ b/_layouts/talk.html @@ -17,36 +17,7 @@

Speakers