From 340a804e550cb5b733bd2e64e515e79740bb6338 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Sat, 14 Sep 2024 11:22:54 -0400 Subject: feat: impl tutors/about/team view --- templates/about/blurb.html | 5 ++--- templates/about/figure.html | 8 ++++---- templates/about/team.html | 4 +--- 3 files changed, 7 insertions(+), 10 deletions(-) (limited to 'templates/about') diff --git a/templates/about/blurb.html b/templates/about/blurb.html index 630cf65..4389d47 100644 --- a/templates/about/blurb.html +++ b/templates/about/blurb.html @@ -1,4 +1,3 @@ -
-

{{ tutor.display_name() }}

-

{{ tutor.blurb()|markdown }}

+
+ {{ tutor.get_blurb()|markdown }}
diff --git a/templates/about/figure.html b/templates/about/figure.html index 2b8e308..4a4c365 100644 --- a/templates/about/figure.html +++ b/templates/about/figure.html @@ -1,8 +1,8 @@
- - - {{ tutor.display_name() }} + + + {{ tutor.get_name() }} -
{{ tutor.display_name() }}
+
{{ tutor.get_name() }}
diff --git a/templates/about/team.html b/templates/about/team.html index b1f0588..2857efe 100644 --- a/templates/about/team.html +++ b/templates/about/team.html @@ -1,8 +1,6 @@ -{% let flip = true %} - {% for tutor in tutors %}
- {% if flip == true %} + {% if loop.index0 % 2 == 0 %} {% include "blurb.html" %} {% include "figure.html" %} {% else %} -- cgit v1.2.3