summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/about/index.html.j26
-rw-r--r--templates/about/team.html.j26
-rw-r--r--templates/card.html.j214
-rw-r--r--templates/posts.html.j220
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