summaryrefslogtreecommitdiff
path: root/templates/about/figure.html
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2024-09-14 11:22:54 -0400
committerAdam T. Carpenter <atc@53hor.net>2024-09-14 11:22:54 -0400
commit340a804e550cb5b733bd2e64e515e79740bb6338 (patch)
tree1cfcc87357ddc144d82b942dfb84742d491d8148 /templates/about/figure.html
parent0213fd2dcd09ca4b1252cdc45415a765a887d679 (diff)
downloadcarpentertutoring-340a804e550cb5b733bd2e64e515e79740bb6338.tar.xz
carpentertutoring-340a804e550cb5b733bd2e64e515e79740bb6338.zip
feat: impl tutors/about/team view
Diffstat (limited to 'templates/about/figure.html')
-rw-r--r--templates/about/figure.html8
1 files changed, 4 insertions, 4 deletions
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 @@
<figure class="shadowy">
<picture>
- <source srcset="/team/{{ tutor.id() }}.webp" type="image/webp" />
- <source srcset="/team/{{ tutor.id() }}.png" type="image/png" />
- <img alt="{{ tutor.display_name() }}" src="/team/{{ tutor.id() }}.png" />
+ <source srcset="/team/{{ tutor.get_id() }}/{{ tutor.get_id() }}.webp" type="image/webp" />
+ <source srcset="/team/{{ tutor.get_id() }}/{{ tutor.get_id() }}.png" type="image/png" />
+ <img alt="{{ tutor.get_name() }}" src="/team/{{ tutor.get_id() }}/{{ tutor.get_id() }}.png" />
</picture>
- <figcaption>{{ tutor.display_name() }}</figcaption>
+ <figcaption>{{ tutor.get_name() }}</figcaption>
</figure>