From a835d3328deea93b05803d95d34e0c66618dc9c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 30 Sep 2021 00:16:12 +0300 Subject: Template and CSS improvements * Improvements to weblog.html and base.html to not show on the indeces pages without dates, i.e. making them hidden drafts. * media print rule to be able to comfortably print articles. --- templates/weblog.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'templates/weblog.html') diff --git a/templates/weblog.html b/templates/weblog.html index 6638faf..855c0ed 100644 --- a/templates/weblog.html +++ b/templates/weblog.html @@ -48,15 +48,19 @@ {% block content %}
{% for post in paginator.pages %} + {% if post.date %}

{{ post.title }} + {% if post.date %} {{ post.date | date }} + {% endif %}

{% if post.summary %} {{ post.summary | safe }} {% endif %}
+ {% endif %} {% endfor %}
{% if paginator %} -- cgit v1.2.3