diff options
Diffstat (limited to 'templates/about/figure.html')
-rw-r--r-- | templates/about/figure.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/about/figure.html b/templates/about/figure.html new file mode 100644 index 0000000..2b8e308 --- /dev/null +++ b/templates/about/figure.html @@ -0,0 +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" /> + </picture> + <figcaption>{{ tutor.display_name() }}</figcaption> +</figure> |