summaryrefslogtreecommitdiff
path: root/templates/post.html.j2
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2025-05-18 10:44:04 -0400
committerAdam T. Carpenter <atc@53hor.net>2025-05-18 10:44:04 -0400
commit37b6c927620cb68e01345d29daca960faeb80cb9 (patch)
treeb2740d9a88fb238ea6aae44fb73481265b009e1d /templates/post.html.j2
parentd6a495165b4f36b8bf3137deac46f7bcfb1d7bf1 (diff)
downloadcarpentertutoring-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/post.html.j2')
-rw-r--r--templates/post.html.j224
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/post.html.j2 b/templates/post.html.j2
new file mode 100644
index 0000000..e1c447a
--- /dev/null
+++ b/templates/post.html.j2
@@ -0,0 +1,24 @@
+{% extends "base.html.j2" %}
+
+{% block title %}
+{{ post.get_title() }} - Carpenter Tutoring, LLC
+{% endblock %}
+
+{% block og %}
+<meta name="description" content="{{ post.get_description() }}" />
+<meta property="og:description" content="{{ post.get_description() }}" />
+<meta property="og:title" content="{{ post.get_title() }}" />
+<meta property="og:url" content="https://carpentertutoring.com/posts/{{ post.get_title()|e }}" />
+{% endblock %}
+
+{% block main %}
+<section class="banner">
+ <h1>{{ post.get_title() }}</h1>
+</section>
+
+<section>
+ <article>
+ {{ post.get_article()|markdown }}
+ </article>
+</section>
+{% endblock %} \ No newline at end of file