diff --git a/_layouts/default.html b/_layouts/default.html index 1a7781ba..b73d6d2c 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -22,6 +22,7 @@

Ruby Conferences diff --git a/cfp/index.html b/cfp/index.html new file mode 100644 index 00000000..660dabcf --- /dev/null +++ b/cfp/index.html @@ -0,0 +1,16 @@ +--- +layout: default +--- +
+
+ {% assign now = site.time | date: '%s' | plus: 0 %} + {% assign conferences = site.data.conferences | sort: 'start_date' %} + {% for event in conferences %} + {% assign start_date = event.start_date | date: '%s' | plus: 0 %} + {% assign cfp_date = event.cfp_date | date: '%s' | plus: 0 %} + {% if start_date >= now and cfp_date >= now %} + {% include event.html %} + {% endif %} + {% endfor %} +
+