diff --git a/data/contact.yaml b/data/contact.yaml index 8aa36ca2e1dad75fff16337be35dc0fe892c1d0d..2429229aa4ecbf3177f40d953e0432306a8a8249 100644 --- a/data/contact.yaml +++ b/data/contact.yaml @@ -34,6 +34,8 @@ people: [ { name: Mr. Joshua Borrow, role: PhD Student, + href: "http://www.dur.ac.uk/joshua.borrow", + affil: "Durham", }, { name: Pr. Tom Theuns, diff --git a/templates/contact.html b/templates/contact.html index eee4906e8685f54178fcd4318a4080701c571581..87325442c11b398129f687ce00f6d40671e39d1a 100644 --- a/templates/contact.html +++ b/templates/contact.html @@ -20,14 +20,18 @@ <p>The following people are involved in SWIFT:</p> <ul> {% for person in people %} - {% if person.role %} - <li>{{ person.name }} | {{ person.role }}</li> - {% else %} - <li>{{ person.name }}</li> - {% endif %} + <li> + {% if person.href %} + <a href="{{ person.href }}">{{ person.name }}</a> + {% else %} + {{ person.name }} + {% endif %} + {% if person.role %} | {{ person.role }}{% endif %} + {% if person.affil %} | {{ person.affil }}{% endif %} + </li> {% endfor %} </ul> </div> </div> </div> -{% endblock %} \ No newline at end of file +{% endblock %}