summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-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.html11
-rw-r--r--templates/about/team.html.j211
-rw-r--r--templates/base.html.j2 (renamed from templates/base.html)24
-rw-r--r--templates/brochure/brochure.html.j2 (renamed from templates/brochure/brochure.html)0
-rw-r--r--templates/brochure/index.html.j2 (renamed from templates/brochure/index.html)4
-rw-r--r--templates/card.html.j2 (renamed from templates/card.html)0
-rw-r--r--templates/contact-buttons.html.j2 (renamed from templates/contact-buttons.html)0
-rw-r--r--templates/index.html.j2 (renamed from templates/index.html)2
-rw-r--r--templates/k12.html.j2 (renamed from templates/k12.html)2
-rw-r--r--templates/policies.html.j2 (renamed from templates/policies.html)2
-rw-r--r--templates/post.html.j2 (renamed from templates/post.html)2
-rw-r--r--templates/posts.html.j2 (renamed from templates/posts.html)2
-rw-r--r--templates/stylewrap.html.j25
16 files changed, 36 insertions, 33 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
diff --git a/templates/base.html b/templates/base.html.j2
index 49d8c40..ad99896 100644
--- a/templates/base.html
+++ b/templates/base.html.j2
@@ -7,11 +7,7 @@
Tutoring Excellence Online and in Suffolk, VA - Carpenter Tutoring, LLC
{% endblock %}
</title>
- <style>
- {% block style %}
- {% include "styles.css" %}
- {% endblock %}
- </style>
+ {% include "stylewrap.html.j2" %}
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link rel="stylesheet" href="/desktop.css" />
<link rel="stylesheet" href="/widescreen.css" />
@@ -33,11 +29,11 @@
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RZLJ3ZBKZL"></script>
<script>
- window.dataLayer = window.dataLayer || [];
- function gtag(){dataLayer.push(arguments);}
- gtag('js', new Date());
+ window.dataLayer = window.dataLayer || [];
+ function gtag() { dataLayer.push(arguments); }
+ gtag('js', new Date());
- gtag('config', 'G-RZLJ3ZBKZL');
+ gtag('config', 'G-RZLJ3ZBKZL');
</script>
@@ -71,11 +67,11 @@
</figure>
<div id="contact" class="buttons centered">
- {% include "contact-buttons.html" %}
+ {% include "contact-buttons.html.j2" %}
</div>
<p>
- &copy; 2019-{{ self::current_year() }} Carpenter Tutoring, LLC. All rights reserved.
+ &copy; 2019-{{ self::current_year() }} Carpenter Tutoring, LLC. All rights reserved.
</p>
<p>
<a href="https://g.page/carpenter-tutoring?share">Visit me on Google</a>
@@ -89,7 +85,9 @@
</footer>
<script src="/nav.js"></script>
- <link href="https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Indie+Flower&family=PT+Sans&display=swap" rel="stylesheet" />
+ <link
+ href="https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Indie+Flower&family=PT+Sans&display=swap"
+ rel="stylesheet" />
</body>
-</html>
+</html> \ No newline at end of file
diff --git a/templates/brochure/brochure.html b/templates/brochure/brochure.html.j2
index b5a3cd3..b5a3cd3 100644
--- a/templates/brochure/brochure.html
+++ b/templates/brochure/brochure.html.j2
diff --git a/templates/brochure/index.html b/templates/brochure/index.html.j2
index 6304887..547f9d7 100644
--- a/templates/brochure/index.html
+++ b/templates/brochure/index.html.j2
@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "base.html.j2" %}
{% block style %}
{% include "../styles.css" %}
@@ -21,7 +21,7 @@
desktop screen.
</p>
- {% include "brochure.html" %}
+ {% include "brochure.html.j2" %}
</section>
diff --git a/templates/card.html b/templates/card.html.j2
index 1397bc8..1397bc8 100644
--- a/templates/card.html
+++ b/templates/card.html.j2
diff --git a/templates/contact-buttons.html b/templates/contact-buttons.html.j2
index bae7460..bae7460 100644
--- a/templates/contact-buttons.html
+++ b/templates/contact-buttons.html.j2
diff --git a/templates/index.html b/templates/index.html.j2
index b5f4bd6..24c9369 100644
--- a/templates/index.html
+++ b/templates/index.html.j2
@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "base.html.j2" %}
{% block main %}
<!--banner-->
diff --git a/templates/k12.html b/templates/k12.html.j2
index 6467d55..bfa9527 100644
--- a/templates/k12.html
+++ b/templates/k12.html.j2
@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "base.html.j2" %}
{% block main %}
diff --git a/templates/policies.html b/templates/policies.html.j2
index 6a5754a..5580ce9 100644
--- a/templates/policies.html
+++ b/templates/policies.html.j2
@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "base.html.j2" %}
{% block main %}
diff --git a/templates/post.html b/templates/post.html.j2
index 9eb3444..e1c447a 100644
--- a/templates/post.html
+++ b/templates/post.html.j2
@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "base.html.j2" %}
{% block title %}
{{ post.get_title() }} - Carpenter Tutoring, LLC
diff --git a/templates/posts.html b/templates/posts.html.j2
index 2f1df6b..e9efdfb 100644
--- a/templates/posts.html
+++ b/templates/posts.html.j2
@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "base.html.j2" %}
{% block main %}
<section class="banner">
diff --git a/templates/stylewrap.html.j2 b/templates/stylewrap.html.j2
new file mode 100644
index 0000000..a68f592
--- /dev/null
+++ b/templates/stylewrap.html.j2
@@ -0,0 +1,5 @@
+<style>
+ {% block style %}
+ {% include "styles.css" %}
+ {% endblock %}
+</style> \ No newline at end of file