summaryrefslogtreecommitdiff
path: root/templates/about
diff options
context:
space:
mode:
Diffstat (limited to 'templates/about')
-rw-r--r--templates/about/blurb.html3
-rw-r--r--templates/about/blurb.html.j23
-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)14
-rw-r--r--templates/about/team.html13
-rw-r--r--templates/about/team.html.j211
6 files changed, 19 insertions, 25 deletions
diff --git a/templates/about/blurb.html b/templates/about/blurb.html
deleted file mode 100644
index 4389d47..0000000
--- a/templates/about/blurb.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<div id="{{ tutor.get_id() }}">
- {{ tutor.get_blurb()|markdown }}
-</div>
diff --git a/templates/about/blurb.html.j2 b/templates/about/blurb.html.j2
new file mode 100644
index 0000000..a5e91d3
--- /dev/null
+++ b/templates/about/blurb.html.j2
@@ -0,0 +1,3 @@
+<div id="{{ tutor.get_id() }}">
+ {{ tutor.get_blurb() | safe }}
+</div> \ No newline at end of file
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 0d2434a..ad4480c 100644
--- a/templates/about/index.html
+++ b/templates/about/index.html.j2
@@ -1,20 +1,18 @@
-{% extends "base.html" %}
+{% extends "base.html.j2" %}
{% block main %}
<section class="banner">
<h1>About Us</h1>
</section>
-<section class="quiet 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="quiet flexible squarshed">
+<section class="flexible">
<figure class="shadowy">
<picture>
<source srcset="/assets/amy.webp" type="image/webp" />
@@ -64,8 +62,6 @@
</section>
-<section></section>
+{% include "team.html.j2" %}
-{% include "team.html" %}
-
-{% endblock %}
+{% endblock %} \ No newline at end of file
diff --git a/templates/about/team.html b/templates/about/team.html
deleted file mode 100644
index 2857efe..0000000
--- a/templates/about/team.html
+++ /dev/null
@@ -1,13 +0,0 @@
-{% for tutor in tutors %}
-<section class="quiet flexible">
- {% if loop.index0 % 2 == 0 %}
- {% include "blurb.html" %}
- {% include "figure.html" %}
- {% else %}
- {% include "figure.html" %}
- {% include "blurb.html" %}
- {% endif %}
-</section>
-
-<section></section>
-{% endfor %}
diff --git a/templates/about/team.html.j2 b/templates/about/team.html.j2
new file mode 100644
index 0000000..07637c8
--- /dev/null
+++ b/templates/about/team.html.j2
@@ -0,0 +1,11 @@
+{% for tutor in tutors %}
+<section class="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