diff options
author | Adam T. Carpenter <atc@53hor.net> | 2025-05-18 16:03:55 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2025-05-18 16:03:55 -0400 |
commit | 06aa80c432b3e0b3bab35057f62c4fab7abea52e (patch) | |
tree | 2f5190f7ffe19efdcdb92c5bb70840b41862a81c /templates | |
parent | 6ce8c584359152512a5c7269e565d43703a4de6f (diff) | |
download | carpentertutoring-06aa80c432b3e0b3bab35057f62c4fab7abea52e.tar.xz carpentertutoring-06aa80c432b3e0b3bab35057f62c4fab7abea52e.zip |
feat: post cards, fix about, clean up unused styles
Diffstat (limited to 'templates')
-rw-r--r-- | templates/about/index.html.j2 | 6 | ||||
-rw-r--r-- | templates/about/team.html.j2 | 6 | ||||
-rw-r--r-- | templates/card.html.j2 | 14 | ||||
-rw-r--r-- | templates/posts.html.j2 | 20 |
4 files changed, 19 insertions, 27 deletions
diff --git a/templates/about/index.html.j2 b/templates/about/index.html.j2 index 71891ee..ad4480c 100644 --- a/templates/about/index.html.j2 +++ b/templates/about/index.html.j2 @@ -5,16 +5,14 @@ <h1>About Us</h1> </section> -<section class=" squarshed"> - <p> +<section> <h2 style="font-size: 1.5em; text-align: center;"> There are many pathways to success. I started Carpenter Tutoring for those seeking a little help finding their way. </h2> - </p> </section> -<section class=" flexible squarshed"> +<section class="flexible"> <figure class="shadowy"> <picture> <source srcset="/assets/amy.webp" type="image/webp" /> diff --git a/templates/about/team.html.j2 b/templates/about/team.html.j2 index 05bb2f8..07637c8 100644 --- a/templates/about/team.html.j2 +++ b/templates/about/team.html.j2 @@ -1,5 +1,5 @@ {% for tutor in tutors %} -<sectionclass=" flexible"> +<section class="flexible"> {% if loop.index0 % 2 == 0 %} {% include "blurb.html.j2" %} {% include "figure.html.j2" %} @@ -7,5 +7,5 @@ {% include "figure.html.j2" %} {% include "blurb.html.j2" %} {% endif %} - </section> - {% endfor %}
\ No newline at end of file +</section> +{% endfor %}
\ No newline at end of file diff --git a/templates/card.html.j2 b/templates/card.html.j2 deleted file mode 100644 index 1397bc8..0000000 --- a/templates/card.html.j2 +++ /dev/null @@ -1,14 +0,0 @@ -<div class="card"> - <h2> - {% block title %} - Card Title - {% endblock %} - </h2> - - <p> - {% block content %} - Stuff in the card - {% endblock %} - </p> - -</div>
\ No newline at end of file diff --git a/templates/posts.html.j2 b/templates/posts.html.j2 index e9efdfb..eec04a9 100644 --- a/templates/posts.html.j2 +++ b/templates/posts.html.j2 @@ -6,10 +6,18 @@ </section> <section> - <p> - {% for post in posts %} - <h2><a href="/posts/{{ post.get_title()|e }}">{{ post.get_title() }}</a></h2> + <h2> + Refining how we think and teach. + </h2> +</section> + +<section class="cards"> + {% for post in posts %} + <div class="card"> + <h2> + <a href="/posts/{{ post.get_title()|e }}">{{ post.get_title() }}</a> + </h2> + </div> {% endfor %} - </p> - <section> - {% endblock %}
\ No newline at end of file +</section> +{% endblock %}
\ No newline at end of file |