From 602628c969fdd8e83b7c97c5dbd02c5aa21a051d Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Thu, 23 Dec 2021 11:43:27 +0100 Subject: [PATCH] event updates * event list is now as discussed - call to action buttons - no text, just the title - date and place - cfp is red to highlight * frontmatter sanatization * use of shortcodes in place of conditional code Signed-off-by: Toshaan Bharvani --- content/events/fosdem21.md | 9 +++--- content/events/fosdem22.md | 7 ++--- content/events/openpowersummit21.md | 18 +++++------ content/events/openpowersummit22.md | 6 ++-- .../assets/css/header.scss | 1 + .../openpowerfoundation/assets/css/main.css | 2 +- .../layouts/events/list.html | 30 +++++++++++++++---- .../layouts/shortcodes/pretalx.html | 9 ++---- 8 files changed, 47 insertions(+), 35 deletions(-) diff --git a/content/events/fosdem21.md b/content/events/fosdem21.md index b6bebec..e5a47d0 100644 --- a/content/events/fosdem21.md +++ b/content/events/fosdem21.md @@ -2,13 +2,12 @@ title: "FOSDEM 2021 OpenPOWER DevRoom" eventdate: 2021-02-06 eventplace: "Virtual Online" -eventcalendar: https://archive.fosdem.org/2021/schedule/track/openpower/ -eventtime: 10:00 17:00 -image: thumb-7.jpg -link: 'https://archive.fosdem.org/2021/schedule/track/openpower/' +schedule: https://archive.fosdem.org/2021/schedule/track/openpower/ +recordings: https://video.fosdem.org/2021/D.power/ date: 2021-10-28 draft: false --- FOSDEM 2021 is a well known Free Open Source Conference. -The OpenPOWER Foundation has a dedicated OpenPOWER Developer Room at FOSDEM21. +The OpenPOWER Foundation has a dedicated OpenPOWER Developer Room at FOSDEM21. +This event does not require any registration, just show up and enjoy the talks. diff --git a/content/events/fosdem22.md b/content/events/fosdem22.md index 0296e52..56b7803 100644 --- a/content/events/fosdem22.md +++ b/content/events/fosdem22.md @@ -2,10 +2,9 @@ title: "FOSDEM 2022 OpenPOWER DevRoom" eventdate: 2022-02-05 eventplace: "Virtual Online" -eventcalendar: https://fosdem.org/2022/schedule/track/openpower/ -eventtime: 10:00 - 18:00 -image: thumb-7.jpg -link: https://fosdem.org/2022/schedule/track/openpower/ +callforpresentation: https://cfp.openpower.foundation/fosdem2022/cfp +#schedule: https://fosdem.org/2022/schedule/track/openpower/ +#recordings: date: 2021-10-28 draft: false --- diff --git a/content/events/openpowersummit21.md b/content/events/openpowersummit21.md index e9910ed..536e15c 100644 --- a/content/events/openpowersummit21.md +++ b/content/events/openpowersummit21.md @@ -1,13 +1,13 @@ --- -title: "OpenPOWER Summit EU 2019" -eventdate: 2019-10-31 -eventplace: "Lyon, France" -eventcalendar: Google Calendar ICS -eventtime: 10:00am 6:00pm -image: thumb-7.jpg -link: '#' -date: 2021-10-27 +title: "OpenPOWER Summit 2021" +eventdate: 2021-10-28 +eventplace: "Virtual online" +schedule: https://cfp.openpower.foundation/summit2021/schedule/ +sponsors: + - +date: 2021-12-23 draft: false --- -First- It all begins with an idea. Maybe you want to launch a business. Maybe you want to turn a hobby into something more. Or maybe you have a creative project to share with the world. Whatever it is, the way you tell your story online can make all the difference. \ No newline at end of file + +{{< pretalx event="summit2021" >}} diff --git a/content/events/openpowersummit22.md b/content/events/openpowersummit22.md index bca5cc5..6f79012 100644 --- a/content/events/openpowersummit22.md +++ b/content/events/openpowersummit22.md @@ -1,5 +1,5 @@ --- -title: "OpenPOWER Summit EU 2021" +title: "OpenPOWER Summit EU 2022" eventdate: 2021-10-31 eventplace: "Lyon, France" eventcalendar: Google Calendar ICS @@ -7,7 +7,5 @@ eventtime: 10:00am 6:00pm image: thumb-7.jpg link: '#' date: 2021-10-28 -draft: false +draft: true --- - -Second - It all begins with an idea. Maybe you want to launch a business. Maybe you want to turn a hobby into something more. Or maybe you have a creative project to share with the world. Whatever it is, the way you tell your story online can make all the difference. \ No newline at end of file diff --git a/themes/openpowerfoundation/assets/css/header.scss b/themes/openpowerfoundation/assets/css/header.scss index 3a8c873..93e5a6d 100644 --- a/themes/openpowerfoundation/assets/css/header.scss +++ b/themes/openpowerfoundation/assets/css/header.scss @@ -121,6 +121,7 @@ body { &:first-child { height: 100%; + top: -5px; overflow-y: auto; } diff --git a/themes/openpowerfoundation/assets/css/main.css b/themes/openpowerfoundation/assets/css/main.css index 429ceb9..a29559e 100644 --- a/themes/openpowerfoundation/assets/css/main.css +++ b/themes/openpowerfoundation/assets/css/main.css @@ -4969,4 +4969,4 @@ textarea.form-control-lg { .social__item._yt { background-image: url(../img/yt.svg); } - \ No newline at end of file + diff --git a/themes/openpowerfoundation/layouts/events/list.html b/themes/openpowerfoundation/layouts/events/list.html index ea2f598..fff3493 100644 --- a/themes/openpowerfoundation/layouts/events/list.html +++ b/themes/openpowerfoundation/layouts/events/list.html @@ -1,7 +1,5 @@ {{ partial "header.html" . }} - {{ partial "navbar.html" . }} -
@@ -20,8 +18,31 @@

{{ .Title }}

{{ $eventdate := .Param "eventdate" }} -
{{ dateFormat "2 January 2006" $eventdate }}
-

{{ .Summary }}

+
+ {{ dateFormat "2 January 2006" $eventdate }} - {{ .Param "eventplace" }} +
+

+ {{ if .Param "callforpresentation" }} + + Call-for-Presentation  + + {{ end }} + {{ if .Param "register" }} + + Register  + + {{ end }} + {{ if .Param "schedule" }} + + Schedule  + + {{ end }} + {{ if .Param "recordings" }} + + Recordings  + + {{ end }} +

{{ end }} @@ -32,5 +53,4 @@
- {{ partial "footer.html" . }} diff --git a/themes/openpowerfoundation/layouts/shortcodes/pretalx.html b/themes/openpowerfoundation/layouts/shortcodes/pretalx.html index a4e7508..18265c9 100644 --- a/themes/openpowerfoundation/layouts/shortcodes/pretalx.html +++ b/themes/openpowerfoundation/layouts/shortcodes/pretalx.html @@ -1,11 +1,8 @@ {{ $eventcode := .Get "event" }} -
- - - - + + - External Direct Schedule Link -