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 | |
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')
-rw-r--r-- | templates/about/blurb.html.j2 (renamed from templates/about/blurb.html) | 0 | ||||
-rw-r--r-- | templates/about/figure.html.j2 (renamed from templates/about/figure.html) | 0 | ||||
-rw-r--r-- | templates/about/index.html.j2 (renamed from templates/about/index.html) | 4 | ||||
-rw-r--r-- | templates/about/team.html | 11 | ||||
-rw-r--r-- | templates/about/team.html.j2 | 11 |
5 files changed, 13 insertions, 13 deletions
diff --git a/templates/about/blurb.html b/templates/about/blurb.html.j2 index 4389d47..4389d47 100644 --- a/templates/about/blurb.html +++ b/templates/about/blurb.html.j2 diff --git a/templates/about/figure.html b/templates/about/figure.html.j2 index 168aa4e..168aa4e 100644 --- a/templates/about/figure.html +++ b/templates/about/figure.html.j2 diff --git a/templates/about/index.html b/templates/about/index.html.j2 index fcbc286..71891ee 100644 --- a/templates/about/index.html +++ b/templates/about/index.html.j2 @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "base.html.j2" %} {% block main %} <section class="banner"> @@ -64,6 +64,6 @@ </section> -{% include "team.html" %} +{% include "team.html.j2" %} {% endblock %}
\ No newline at end of file diff --git a/templates/about/team.html b/templates/about/team.html deleted file mode 100644 index c2b4498..0000000 --- a/templates/about/team.html +++ /dev/null @@ -1,11 +0,0 @@ -{% for tutor in tutors %} -<sectionclass=" flexible"> - {% if loop.index0 % 2 == 0 %} - {% include "blurb.html" %} - {% include "figure.html" %} - {% else %} - {% include "figure.html" %} - {% include "blurb.html" %} - {% endif %} - </section> - {% endfor %}
\ No newline at end of file diff --git a/templates/about/team.html.j2 b/templates/about/team.html.j2 new file mode 100644 index 0000000..05bb2f8 --- /dev/null +++ b/templates/about/team.html.j2 @@ -0,0 +1,11 @@ +{% for tutor in tutors %} +<sectionclass=" flexible"> + {% if loop.index0 % 2 == 0 %} + {% include "blurb.html.j2" %} + {% include "figure.html.j2" %} + {% else %} + {% include "figure.html.j2" %} + {% include "blurb.html.j2" %} + {% endif %} + </section> + {% endfor %}
\ No newline at end of file |