aboutsummaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html15
1 files changed, 9 insertions, 6 deletions
diff --git a/templates/page.html b/templates/page.html
index 4a3c86c..5fc80db 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -1,9 +1,12 @@
{% extends "base.html" %}
-{% block content %}
{% set post = page %}
-<div class="post-container">
- <h2>{{ post.title }}</h2>
- <p class="publish-date">Published on: {{ post.date | date(format="%b %d, %Y %H:%M Zulu") }}</p>
- {{ post.content | safe }}
-</div>
+{% block header %}
+ <h1>{{ page.title }}</h1>
+ <p class="publish-date">Published {{ page.date | date(format="%b %d, %Y
+ %H:%M UTC") }} on <a href="/weblog">Yaroslav's weblog</a></p>
+{% endblock %}
+{% block content %}
+ <div class="post-container">
+ {{ page.content | safe }}
+ </div>
{% endblock %}