diff --git a/CHANGELOG.md b/CHANGELOG.md index a97099e..f223725 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## unreleased + +* improved default template + ## [1.3.2] - 2022-06-29 * Added --version option diff --git a/blag/templates/archive.html b/blag/templates/archive.html index c680429..e8f9cca 100644 --- a/blag/templates/archive.html +++ b/blag/templates/archive.html @@ -7,6 +7,11 @@ {% if entry.title %}
— {{ entry.description }}
+ {% endif %} + {% endif %}Written on {{ entry.date.date() }}.
diff --git a/blag/templates/article.html b/blag/templates/article.html index 5507a42..4080c36 100644 --- a/blag/templates/article.html +++ b/blag/templates/article.html @@ -3,5 +3,26 @@ {% block title %}{{ title }}{% endblock %} {% block content %} -{{ content }} + + {% if title %} +