-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #924 from dylanowen/issue/921
updated the /training page to include lightbend data
- Loading branch information
Showing
2 changed files
with
180 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
--- | ||
[ | ||
{% comment %} Grab all the upcoming training sessions defined in _trainings {% endcomment %} | ||
{% for training in site.trainings %}{% if training.date >= site.time %} | ||
{ | ||
"title": "{{ training.title | escape }}", | ||
"url": "{{ training.link-out | escape }}", | ||
"location": "{{ training.location | upcase | escape }}", | ||
"when": "{{ training.when | date: "%Y-%m-%d" }}", | ||
"organizer": "{{ training.organizer | escape }}" | ||
}{% unless forloop.last %},{% endunless %} | ||
{% endif %}{% endfor%} | ||
] |