-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f32fcd
commit 3070006
Showing
1 changed file
with
19 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{%- assign sessions = include.sessions | default: page.sessions -%} | ||
{%- assign speakers = '' | split: '' -%} | ||
{%- for session in include.sessions -%} | ||
{%- for name in session.speaker -%} | ||
{%- assign speaker = site.people | find: "title", name -%} | ||
{%- if speaker -%} | ||
{%- unless speakers contains speaker -%} | ||
{%- assign speakers = speakers | push: speaker -%} | ||
{%- endunless -%} | ||
{%- endif -%} | ||
{%- endfor -%} | ||
{%- endfor -%} | ||
{%- assign speakers = speakers | sort_natural: "title" -%} | ||
<div class="section"> | ||
<div class="section-header"> | ||
<h2>Meet our speakers</h2> | ||
</div> | ||
{% include people_list.html people=speakers gallery=true %} | ||
</div> |