diff --git a/.gitignore b/.gitignore index 1c563ae..4efd0fa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .DS_Store -_site \ No newline at end of file +_site +Gemfile.lock \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..98339f2 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +language: ruby +sudo: false +cache: bundler +script: bundle exec jekyll build diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..97355ea --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +source 'https://rubygems.org' + +gem 'github-pages' diff --git a/_config.yml b/_config.yml index 624f4b8..77d4a23 100644 --- a/_config.yml +++ b/_config.yml @@ -9,4 +9,7 @@ permalink: date future: false repo_url: http://github.com/refreshmunich/website -pages_url: http://refreshmunich.com/ \ No newline at end of file +pages_url: http://refreshmunich.com/ + +exclude: + - vendor diff --git a/_posts/2015-01-29-stammtisch.md b/_posts/2015-01-29-stammtisch.md index 36a12a3..0e8551b 100644 --- a/_posts/2015-01-29-stammtisch.md +++ b/_posts/2015-01-29-stammtisch.md @@ -6,9 +6,12 @@ time: Thursday 29 Jan 2014, 19:00 calendar_month: JAN calendar_date: 29 description: Join us for the first Stammtisch in 2015! -venue: | - Wirtshaus im Fraunhofer - Fraunhoferstr. 9 - 80469 München - [www.fraunhofertheater.de](http://www.fraunhofertheater.de) +event: + start: 2015-01-29 19:00:00 +0100 + end: 2015-01-29 22:00:00 +0100 +venue: + name: Wirtshaus im Fraunhofer + street: Fraunhoferstr. 9 + plz: 80469 München + url: http://www.fraunhofertheater.de --- \ No newline at end of file diff --git a/index.html b/index.html index b1cfb4d..151ce47 100644 --- a/index.html +++ b/index.html @@ -39,7 +39,16 @@
-
{{ meetup.venue | markdownify }}
+
+ {{ meetup.venue.name }}
+ {{ meetup.venue.street }}
+ {{ meetup.venue.plz }}
+ {% if meetup.venue.url %} + + {{ meetup.venue.url }} + + {% endif %} +
{{ meetup.description }}
diff --git a/meetups.ics b/meetups.ics new file mode 100644 index 0000000..ca52260 --- /dev/null +++ b/meetups.ics @@ -0,0 +1,40 @@ +--- +layout: nil +--- +BEGIN:VCALENDAR +VERSION:2.0 +CALSCALE:GREGORIAN +BEGIN:VTIMEZONE +TZID:Europe/Berlin +BEGIN:DAYLIGHT +TZOFFSETFROM:+0100 +RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU +DTSTART:19810329T020000 +TZNAME:MESZ +TZOFFSETTO:+0200 +END:DAYLIGHT +BEGIN:STANDARD +TZOFFSETFROM:+0200 +RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU +DTSTART:19961027T030000 +TZNAME:MEZ +TZOFFSETTO:+0100 +END:STANDARD +END:VTIMEZONE +{% assign meetup = site.posts.first %} +{% if meetup.placeholder == false %} +BEGIN:VEVENT +CREATED:20150126T131641Z +UID:{{ meetup.date }}@refreshmunich.com +URL;VALUE=URI:http://refreshmunich.com +TRANSP:OPAQUE +SUMMARY:Refresh Munich Meetup +DTSTART;TZID=Europe/Berlin:{{ meetup.event.start | date: "%Y%m%dT%H%M" }}00 +DTEND;TZID=Europe/Berlin:{{ meetup.event.end | date: "%Y%m%dT%H%M" }}00 +DTSTAMP;TZID=Europe/Berlin:{{ meetup.event.start | date: "%Y%m%dT%H%M" }}00 +LOCATION:{{ meetup.venue.name }}\n{{ meetup.venue.street }}\n{{ meetup.venue.plz }} +SEQUENCE:0 +DESCRIPTION:{{ meetup.description | replace: "\n", "\\n" }} +END:VEVENT +{% endif %} +END:VCALENDAR