summaryrefslogtreecommitdiff
path: root/templates/post.html.j2
diff options
context:
space:
mode:
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