diff --git a/opentech/public/people/templates/people/person_page.html b/opentech/public/people/templates/people/person_page.html index 9fbb5b6c63e695dfdd2c6f3746e58c297b229760..da2b255e1cbe9e482f68d2dfdc664273b20d5f6d 100644 --- a/opentech/public/people/templates/people/person_page.html +++ b/opentech/public/people/templates/people/person_page.html @@ -19,28 +19,26 @@ <h4 class="heading heading--person-introduction">{{ page.introduction }}</h4> {% endif %} - <section class="main-body"> - {% include_block page.biography %} + {% include_block page.biography %} - {% if page.website %} - <p class="list list--contact"><span>Website:</span> <a href="{{ page.website }}">{{ page.website }}</a></p> - {% endif %} + {% if page.website %} + <p class="list list--contact"><span>Website:</span> <a href="{{ page.website }}">{{ page.website }}</a></p> + {% endif %} - {% if page.email %} - <p class="list list--contact"><span>Email:</span> <a href="{{ page.email }}">{{ page.email }}</a></p> - {% endif %} + {% if page.email %} + <p class="list list--contact"><span>Email:</span> <a href="{{ page.email }}">{{ page.email }}</a></p> + {% endif %} - {% with contact_details=page.contact_details.all %} - {% if contact_details %} + {% with contact_details=page.contact_details.all %} + {% if contact_details %} - {% for contact in contact_details %} - <p class="list list--contact"><span>{{ contact.method_display }}:</span> {{ contact.contact_detail }}</p> - {% endfor %} + {% for contact in contact_details %} + <p class="list list--contact"><span>{{ contact.method_display }}:</span> {{ contact.contact_detail }}</p> + {% endfor %} - {% endif %} - {% endwith %} - {% include "utils/includes/funding.html" %} - </section> + {% endif %} + {% endwith %} + {% include "utils/includes/funding.html" %} </div> <div>