Sha256: 787f6f22cc99dbc261a88c40606b9d5188a48a99bf416c59016319876b4fad23

Contents?: true

Size: 1.34 KB

Versions: 1

Compression:

Stored size: 1.34 KB

Contents

{% assign cohort = include.cohort %}
{% assign people = site.data.people %}
{% assign projects = site.data.openseeds[cohort].projects %}
{% assign schedule = site.data.openseeds[cohort].schedule %}
{% assign metadata = site.data.openseeds[cohort].metadata %}

{% assign all-participants = '' %}
{% assign all-mentors = '' %}
{% for project in projects %}
    {% assign p-pparticipants = '' %}
    {% for p in project.participants %}
        {% capture all-participants %}{{ all-participants}}, {{ p }}{% endcapture %}
    {% endfor %}
    {% for m in project.mentors %}
        {% capture all-mentors %}{{ all-mentors }}, {{ m }}{% endcapture %}
    {% endfor %}
{% endfor %}

{% assign p-participants = all-participants | remove_first: ', ' | split: ", " | uniq | sort %}
{% assign p-mentors = all-mentors | remove_first: ', ' | split: ", " | uniq | sort %}

{% assign all-speakers = '' %}
{% for w in schedule.weeks %}
    {% for c in w[1].calls %}
        {% if c.type == 'Cohort' %}
            {% for r in c.talks %}
                {% if r.speaker %}
                    {% capture all-speakers %}{{ all-speakers}}, {{ r.speaker }}{% endcapture %}
                {% endif %}
            {% endfor %}
        {% endif %}
    {% endfor %}
{% endfor %}
{% assign p-speakers = all-speakers | remove_first: ', ' | split: ", " | uniq | sort %}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ols-theme-0.9.0 _includes/cohort-metadata.html