diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-04-20 16:07:59 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-04-20 16:07:59 +0300 |
commit | 9286a2b68546f968282eadf2c519ebef3def9b70 (patch) | |
tree | 3b60619e4fa8c08c014cc07ba100d00f7b9c098d /templates/page.html | |
parent | 47e3ed66840f46c5cd56dd668ff1e8f7f1187b36 (diff) | |
download | yaroslavps.com-9286a2b68546f968282eadf2c519ebef3def9b70.tar.gz yaroslavps.com-9286a2b68546f968282eadf2c519ebef3def9b70.zip |
style changes; landing page
Diffstat (limited to 'templates/page.html')
-rw-r--r-- | templates/page.html | 15 |
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 %} |