Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make contact a list of strings instead of a single string.
  • Loading branch information
Aleksandra Nenadic committed Oct 13, 2016
1 parent 51e4073 commit aac3e8a
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions index.html
Expand Up @@ -13,7 +13,7 @@ startdate: FIXME # machine-readable start date for the workshop in YYYY-MM-
enddate: FIXME # machine-readable end date for the workshop in YYYY-MM-DD format like 2015-01-02
instructor: ["FIXME"] # boxed, comma-separated list of instructors' names as strings, like ["Kay McNulty", "Betty Jennings", "Betty Snyder"]
helper: ["FIXME"] # boxed, comma-separated list of helpers' names, like ["Marlyn Wescoff", "Fran Bilas", "Ruth Lichterman"]
contact: "FIXME" # contact email address for host, lead instructor, or whoever else is handling questions
contact: ["FIXME"] # boxed, comma-separated list of contact email addresses for host, lead instructor, or whoever else is handling questions, like ["marlyn.wescoff@example.org", "fran.bilas@example.org", "ruth.lichterman@example.org"]
etherpad: # optional: URL for the workshop Etherpad if there is one
eventbrite: # optional: alphanumeric key for Eventbrite registration, e.g., "1234567890AB" (if Eventbrite is being used)
---
Expand Down Expand Up @@ -155,9 +155,23 @@ and the administrator will contact you if we need any extra information.</h4>
-->
<p id="contact">
<strong>Contact</strong>:
Please mail
<a href="mailto:{{page.contact}}">{{page.contact}}</a> for more
information.
Please email
{% if page.contact %}
{% for contact in page.contact: %}
{% if forloop.last and page.contact.size > 1 %}
or
{% else %}
{% unless forloop.first %}
,
{% endunless %}
{% endif %}
<a href='mailto:{{contact}}'>{{contact}} </a>
{% endfor %}
{% else %}
to-be-announced
{% endif %}
<!--<a href="mailto:{{page.contact}}">{{page.contact}}</a>-->
for more information.
</p>

<hr/>
Expand Down

0 comments on commit aac3e8a

Please sign in to comment.