From bcfda9e0e7b5786546508ce63fe79366b01c4ef6 Mon Sep 17 00:00:00 2001 From: Chris Lawton <chris.lawton@torchbox.com> Date: Tue, 30 Jan 2018 17:01:08 +0000 Subject: [PATCH] removing section element from person page and indenting --- .../people/templates/people/person_page.html | 32 +++++++++---------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/opentech/public/people/templates/people/person_page.html b/opentech/public/people/templates/people/person_page.html index 9fbb5b6c6..da2b255e1 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> -- GitLab