diff --git a/_data/trainings/trainings-2018.json b/_data/trainings/trainings-2018.json new file mode 100644 index 00000000..f56edb8d --- /dev/null +++ b/_data/trainings/trainings-2018.json @@ -0,0 +1,20 @@ +[ + { + "url" : "https://www.meetup.com/Coderetreat-Training-Sessions/events/252150236/", + "image" : "https://lh3.googleusercontent.com/-9uSjOHks4cg/Wa7Ioee1Z_I/AAAAAAAAAAA/a_0dlsUfaAAPskTPLoDmWixy2nwE7_RYACJgCEAE/w420-h105-p/event_theme.jpg", + "trainerProfile" : "https://twitter.com/rradczewski", + "trainerName" : "Raimo Radczewski", + "trainerPhoto" : "https://pbs.twimg.com/profile_images/593402307594821632/0eBBXeS2_400x400.jpg", + "type" : "Host", + "dateTime" : "Tuesday, July 3 2018, 6:00 PM UTC" + }, + { + "url" : "https://www.meetup.com/Coderetreat-Training-Sessions/events/252157819/", + "image" : "https://lh3.googleusercontent.com/-NMyVPNcNOyA/WXp0L5I8AqI/AAAAAAAAAAA/_XgRQhRfL-MmVn3vUBbIquAFWeZTE7vyQCJgCEAE/w420-h105-p/event_theme.jpg", + "trainerProfile" : "https://plus.google.com/107460311883308398711", + "trainerName" : "Alastair Smith", + "trainerPhoto" : "//lh3.googleusercontent.com/-hyKhBbr9fV4/AAAAAAAAAAI/AAAAAAAADZA/8x039igxCKw/s80-c/photo.jpg", + "type" : "Facilitator", + "dateTime" : "Thursday, July 12 2018, 6:00 PM UTC" + }, +] diff --git a/index.html b/index.html index b84002fd..d7f73c46 100644 --- a/index.html +++ b/index.html @@ -8,5 +8,3 @@ {% include hosting.html %} {% include sponsors.html %} {% include archive-announcement.html %} - - diff --git a/pages/training.md b/pages/training.md index a3261334..ee37d8b6 100644 --- a/pages/training.md +++ b/pages/training.md @@ -33,7 +33,7 @@ layout: default
Tip: visit the event page to see the date and time converted to your local timezone.
- {% for training in site.data.trainings.trainings-2017 reversed %} + {% for training in site.data.trainings.trainings-2018 reversed %} {% capture posttime %}{{training.dateTime | date: '%s'}}{% endcapture %} {% if posttime > nowunix %} {% include session.html %}