From 6608dc2ded488ada472feaadd3fb66fa0987a84f Mon Sep 17 00:00:00 2001 From: Matt Spencer Date: Wed, 30 Mar 2022 15:31:19 +0100 Subject: [PATCH 1/3] Add google calendar shortcode Signed-off-by: Matt Spencer --- themes/soafee/layouts/shortcodes/google_calendar.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 themes/soafee/layouts/shortcodes/google_calendar.html diff --git a/themes/soafee/layouts/shortcodes/google_calendar.html b/themes/soafee/layouts/shortcodes/google_calendar.html new file mode 100644 index 0000000..0c971d1 --- /dev/null +++ b/themes/soafee/layouts/shortcodes/google_calendar.html @@ -0,0 +1,10 @@ +{{ $src := (.Get "src" ) }} +{{ $color := (.Get "color") | default "233F51B5" }} +{{ $bgcolor := (.Get "bgcolor") | default "23ffffff" }} +{{ $height := (.Get "height") | default "600" }} + + + +{{/* {{< google_calendar src="Y19taTAxMWJiajNrdXJhbGpnOGs5MmtrOG44NEBncm91cC5jYWxlbmRhci5nb29nbGUuY29t">}} */}} + + -- GitLab From 1113cb30c2c01896e52fd1ef782c5613f2bf82c8 Mon Sep 17 00:00:00 2001 From: Matt Spencer Date: Wed, 30 Mar 2022 15:31:19 +0100 Subject: [PATCH 2/3] Add google calendar shortcode Signed-off-by: Matt Spencer --- themes/soafee/layouts/shortcodes/google_calendar.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 themes/soafee/layouts/shortcodes/google_calendar.html diff --git a/themes/soafee/layouts/shortcodes/google_calendar.html b/themes/soafee/layouts/shortcodes/google_calendar.html new file mode 100644 index 0000000..0c971d1 --- /dev/null +++ b/themes/soafee/layouts/shortcodes/google_calendar.html @@ -0,0 +1,10 @@ +{{ $src := (.Get "src" ) }} +{{ $color := (.Get "color") | default "233F51B5" }} +{{ $bgcolor := (.Get "bgcolor") | default "23ffffff" }} +{{ $height := (.Get "height") | default "600" }} + + + +{{/* {{< google_calendar src="Y19taTAxMWJiajNrdXJhbGpnOGs5MmtrOG44NEBncm91cC5jYWxlbmRhci5nb29nbGUuY29t">}} */}} + + -- GitLab From 490983ea5779943c2826ca59823feba4f1bd50db Mon Sep 17 00:00:00 2001 From: Matt Spencer Date: Fri, 8 Apr 2022 16:17:01 +0100 Subject: [PATCH 3/3] Add calendar to 'community' Signed-off-by: Matt Spencer --- config.toml | 5 +++++ content/community/calendar.md | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 content/community/calendar.md diff --git a/config.toml b/config.toml index 19754b8..71f61b6 100644 --- a/config.toml +++ b/config.toml @@ -66,6 +66,11 @@ googleAnalytics = "GTM-WLHTXFF" identifier = "community" name = "Community" weight = 4 +[[menu.main]] + identifier = "calendar" + parent = "community" + name = "Calendar" + url = "/community/calendar" [[menu.main]] identifier = "gitlab" parent = "community" diff --git a/content/community/calendar.md b/content/community/calendar.md new file mode 100644 index 0000000..1d71725 --- /dev/null +++ b/content/community/calendar.md @@ -0,0 +1,9 @@ +--- +Title: Calendar +--- + +# SOAFEE Public Calendar + +All of the public meetings of the SOAFEE SIG are available in this calendar. Please feel free to subscribe, join and contribute to any of these meetings under the rules set out under the [charter](/about/charter). + +{{< google_calendar src="Y19taTAxMWJiajNrdXJhbGpnOGs5MmtrOG44NEBncm91cC5jYWxlbmRhci5nb29nbGUuY29t">}} -- GitLab