From f5cad9fb9315689cfa07c324d6e0d22226ebbe11 Mon Sep 17 00:00:00 2001 From: Christian Martin Date: Mon, 13 Jan 2020 19:16:53 -0500 Subject: [PATCH 1/2] Add Calendar page --- calendar.html | 201 ++++++++++++++++++ feeds/calendar.ics | 5 +- .../_posts/2020-01-16-foss-hours.md | 10 + 3 files changed, 214 insertions(+), 2 deletions(-) create mode 100644 calendar.html create mode 100644 meetings-meetups/_posts/2020-01-16-foss-hours.md diff --git a/calendar.html b/calendar.html new file mode 100644 index 0000000..20f5f03 --- /dev/null +++ b/calendar.html @@ -0,0 +1,201 @@ +--- +layout: default +title: Calendar +--- +
+
+

Calendar

+ +
+ +
+
+
+
+ + + + + + + \ No newline at end of file diff --git a/feeds/calendar.ics b/feeds/calendar.ics index 018b28b..27c26ab 100644 --- a/feeds/calendar.ics +++ b/feeds/calendar.ics @@ -5,14 +5,15 @@ BEGIN:VCALENDAR VERSION:2.0 PRODID:-//{{site.title}}//{{site.url}}//EN CALSCALE:GREGORIAN -METHOD:PUBLISH{% for post in site.posts %}{% if post.categories.last == "meetings-meetups" or post.categories.first == "events" %} +METHOD:PUBLISH{% for post in site.posts %}{% if post.categories.last == "meetings-meetups" or post.categories.first == "events" or post.categories.first == "talks" or post.categories.first == "announcements" and post.layout == "post-event" %} BEGIN:VEVENT UID:{{site.url}}{{site.baseurl}}{{post.url}} DTSTAMP:{{ post.date | date: "%Y%m%dT000000Z" }}{% if post.date-start %} DTSTART;TZID=America/New_York:{{ post.date-start | date: "%Y%m%dT%H%M00" }}{% else %} DTSTART:{{ post.date | date: "%Y%m%d" }}{% endif %}{% if post.date-end %} DTEND;TZID=America/New_York:{{ post.date-end | date: "%Y%m%dT%H%M00" }}{% else %} -DTEND:{{ post.date | date: "%Y%m%d" }}{% endif %} +DTEND:{{ post.date | date: "%Y%m%d" }}{% endif %}{% if post.rrule %} +RRULE:{{post.rrule}}{% endif %} ORGANIZER;CN="{{site.title}}":MAILTO:{{site.email}} SUMMARY:{{post.title}} DESCRIPTION:{{post.excerpt | strip_html | newline_to_br | replace: "
", " " | strip_newlines | strip}} diff --git a/meetings-meetups/_posts/2020-01-16-foss-hours.md b/meetings-meetups/_posts/2020-01-16-foss-hours.md new file mode 100644 index 0000000..537a102 --- /dev/null +++ b/meetings-meetups/_posts/2020-01-16-foss-hours.md @@ -0,0 +1,10 @@ +--- +layout: redirect +redirect: https://fossrit.github.io/ +date-start: "2020-01-16 17:00" +date-end: "2020-01-16 19:00" +location: "MSS-3190" +title: "FOSS Hours" +rrule: "FREQ=WEEKLY;UNTIL=20200423T190000" +--- +Not a RITlug event, but one we think is worthwhile to share and you'll likely see some of us there From 2cba6de68a27512728d3aa4116ba6fb4d6b2e85f Mon Sep 17 00:00:00 2001 From: Christian Martin Date: Thu, 13 Feb 2020 12:11:13 -0500 Subject: [PATCH 2/2] Fix FOSS Hours event description --- meetings-meetups/_posts/2020-01-16-foss-hours.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meetings-meetups/_posts/2020-01-16-foss-hours.md b/meetings-meetups/_posts/2020-01-16-foss-hours.md index 537a102..7bd78f9 100644 --- a/meetings-meetups/_posts/2020-01-16-foss-hours.md +++ b/meetings-meetups/_posts/2020-01-16-foss-hours.md @@ -7,4 +7,4 @@ location: "MSS-3190" title: "FOSS Hours" rrule: "FREQ=WEEKLY;UNTIL=20200423T190000" --- -Not a RITlug event, but one we think is worthwhile to share and you'll likely see some of us there +Come meet other students and faculty involved with FOSS efforts at RIT!