1
0
mirror of https://github.com/venthur/blag.git synced 2025-11-26 05:02:58 +00:00

small template improvements

This commit is contained in:
Bastian Venthur
2021-01-14 16:28:41 +01:00
parent d3fe365bb0
commit 581f36abea
2 changed files with 12 additions and 5 deletions

View File

@@ -9,7 +9,13 @@
{% block content %}
<p>Written on {{ date }}.</p>
{% if title %}
<h1>{{ title }}</h1>
{% endif %}
{% if date %}
<p>Written on {{ date.date() }}.</p>
{% endif %}
{{ content }}