Commit 2ed4d72f authored by Juan's avatar Juan
Browse files

Added contributors to each program page

parent 3510db73
......@@ -10,6 +10,7 @@ layout: main
</h5>
<img src="{{ page.img_src }}" />
<h4>{{ page.name }}</h4>
<p>{{ page.text }}</p>
<h6>
<a href="{{ page.profile_src }}">to full profile</a>
......
......@@ -12,6 +12,22 @@ layout: main
<img src="{{ page.program_img_1400 }}" />
</div>
<h4>{{ page.name }}</h4>
<h5>
<p class="day-program-element-contributors">
{% if page.contributors == "TITiPI (Helen v. Pritchard, Femke Snelting)" %}
<a
href="{{ site.baseurl }}/contributors/{{ page.contributors | slugify: 'latin' }}"
>{{ page.contributors }}</a
>
{% else %} {% assign contributors_array = page.contributors | split: ", " %} {% for
contributor in contributors_array %}
<a
href="{{ site.baseurl }}/contributors/{{ contributor | remove: '(' | remove: ')' | slugify: 'latin' }}"
>{{ contributor }}{% unless forloop.last %},{% endunless %}</a
>
{% endfor %} {% endif %}
</p>
</h5>
<p>{{ page.content }}</p>
<h5>
{% if page.format == "Workshop" or page.format == "Worklab" %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment