Skip to content

Commit

Permalink
Add latest training sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
apandichi committed Jul 3, 2018
1 parent a0300fb commit e628f97
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
20 changes: 20 additions & 0 deletions _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"
},
]
2 changes: 0 additions & 2 deletions index.html
Expand Up @@ -8,5 +8,3 @@
{% include hosting.html %}
{% include sponsors.html %}
{% include archive-announcement.html %}


2 changes: 1 addition & 1 deletion pages/training.md
Expand Up @@ -33,7 +33,7 @@ layout: default
<div class="tip">Tip: visit the event page to see the date and time converted to your local timezone.</div>

<div class="Umd">
{% 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 %}
Expand Down

0 comments on commit e628f97

Please sign in to comment.