diff options
author | Adam T. Carpenter <atc@53hor.net> | 2025-05-18 10:44:04 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2025-05-18 10:44:04 -0400 |
commit | 37b6c927620cb68e01345d29daca960faeb80cb9 (patch) | |
tree | b2740d9a88fb238ea6aae44fb73481265b009e1d /templates/about/figure.html.j2 | |
parent | d6a495165b4f36b8bf3137deac46f7bcfb1d7bf1 (diff) | |
download | carpentertutoring-37b6c927620cb68e01345d29daca960faeb80cb9.tar.xz carpentertutoring-37b6c927620cb68e01345d29daca960faeb80cb9.zip |
chore: rename jinja templates
Also wrap style block so auto formatter doesn't pick it up and wreck
CSS.
Diffstat (limited to 'templates/about/figure.html.j2')
-rw-r--r-- | templates/about/figure.html.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/about/figure.html.j2 b/templates/about/figure.html.j2 new file mode 100644 index 0000000..168aa4e --- /dev/null +++ b/templates/about/figure.html.j2 @@ -0,0 +1,7 @@ +<figure class="shadowy"> + <picture> + <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> +</figure> |