From cc67761741040b850336e2f8a257c2b12e53c4da Mon Sep 17 00:00:00 2001 From: William Zhang Date: Sat, 26 May 2018 18:33:26 -0400 Subject: [PATCH] working templating for about --- sgawebsite/templates/about.html | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/sgawebsite/templates/about.html b/sgawebsite/templates/about.html index 589188f..d1e700a 100644 --- a/sgawebsite/templates/about.html +++ b/sgawebsite/templates/about.html @@ -37,14 +37,15 @@ {% if member.category != 'sponsors' and member.category != 'senators' %} {{ member.year }} {% endif %} - - {% if member.category != "officers" %} - {{ member.title }} - {% endif %} - {% if member.category == "officers" and member.intro != '' %} -

{{ member.intro }}

- {% endif %} + {% if member.category != "officers" %} + {{ member.title }} + {% endif %} + + {% if member.category == "officers" and member.intro != '' %} +

{{ member.intro }}

+ {% endif %} + {% endfor %} {% endwith %}