Nächster CCCS Stammtisch
-- Termin: - Dienstag, 5. Februar 2013, ab 18:00 Uhr -
-- Ort: - - Zadu-Bar - -
+ <%= render 'event_header', :item => upcomingRegularsTable[0], :heading => false, :link => false %>diff --git a/Rules b/Rules index 5c3ce02e..dd52ef74 100644 --- a/Rules +++ b/Rules @@ -1,6 +1,8 @@ #!/usr/bin/env ruby preprocess do + expand_event_list("/_data/chaosevents/") + expand_event_list("/_data/stammtisch/", "CCCS Stammtisch") merge_location_data generate_event_pages generate_activity_pages diff --git a/content/_data/chaosevents.yaml b/content/_data/chaosevents.yaml new file mode 100644 index 00000000..f3ba05ab --- /dev/null +++ b/content/_data/chaosevents.yaml @@ -0,0 +1,34 @@ +--- +events: + - + #kind: event + startdate: 2013-09-06 + duration: 2d + title: "MRMCD2013 - Security Advice" + url: http://mrmcd.net/ + location: + name: Hochschule Darmstadt + url: https://www.fbi.h-da.de/fbi.html + strasse: Schöfferstr. 8b + plz: 64295 + ort: Darmstadt + #public: true + - + startdate: 2013-12-27 + duration: 3d + title: "30C3" + url: https://events.ccc.de/ + location: + name: CCH + ort: Hamburg + - + startdate: 2014-04-17 + duration: 4d + title: "Easterhegg 14 - Codename kEHrwoche" + url: https://eh14.easterhegg.eu/ + location: + name: Kulturhaus-Arena Wangen + ort: Stuttgart + lon: 48.777764 + lat: 9.235627 + diff --git a/content/_data/stammtisch.yaml b/content/_data/stammtisch.yaml new file mode 100644 index 00000000..5737fe06 --- /dev/null +++ b/content/_data/stammtisch.yaml @@ -0,0 +1,56 @@ +--- +events: + - + #kind: event + startdate: 2013-08-06T18:00:00 + duration: 4h + #title: + location: + location: zadu + #public: true + - + startdate: 2013-08-21T18:00:00 + duration: 4h + location: + location: shack + - + startdate: 2013-09-03T18:00:00 + duration: 4h + location: + location: zadu + - + startdate: 2013-09-18T18:00:00 + duration: 4h + location: + location: shack + - + startdate: 2013-10-01T18:00:00 + duration: 4h + location: + location: zadu + - + startdate: 2013-10-16T18:00:00 + duration: 4h + location: + location: shack + - + startdate: 2013-11-05T18:00:00 + duration: 4h + location: + location: zadu + - + startdate: 2013-11-20T18:00:00 + duration: 4h + location: + location: shack + - + startdate: 2013-12-03T18:00:00 + duration: 4h + location: + location: zadu + - + startdate: 2013-12-18T18:00:00 + duration: 4h + location: + location: shack + diff --git a/content/index.html b/content/index.html index 04c6f69d..92569ca2 100644 --- a/content/index.html +++ b/content/index.html @@ -47,26 +47,22 @@ feed: <% end %> + <% upcomingRegularsTable = get_regulars_tables().select { |e| e[:startdate] > Time.now } + if (upcomingRegularsTable.size>0) + upcomingRegularsTable.sort! { |a,b| a[:startdate] <=> b[:startdate] } + %>
- Termin: - Dienstag, 5. Februar 2013, ab 18:00 Uhr -
-- Ort: - - Zadu-Bar - -
+ <%= render 'event_header', :item => upcomingRegularsTable[0], :heading => false, :link => false %>