aboutsummaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-03-11 02:26:54 +0300
committerYaroslav <contact@yaroslavps.com>2020-03-11 02:26:54 +0300
commitda4917f8c673a16ba757b3b911cf5ce36895d74e (patch)
treeeb36d2c213917359b50efe2b9c5bc00c2fa55543 /templates/page.html
downloadyaroslavps.com-da4917f8c673a16ba757b3b911cf5ce36895d74e.tar.gz
yaroslavps.com-da4917f8c673a16ba757b3b911cf5ce36895d74e.zip
initial commit
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html
new file mode 100644
index 0000000..66faa93
--- /dev/null
+++ b/templates/page.html
@@ -0,0 +1,10 @@
+{% extends "base.html" %}
+{% block content %}
+{% set post = page %}
+<div class="post-page">
+ <h2>{{ post.title }}</h2>
+ <p class="publish-date">{{ post.date }}</p>
+ <hr>
+ {{ post.content | safe }}
+</div>
+{% endblock %}