From f6f4428db00730347d8731df74e97e3995e79dfc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Tue, 8 Nov 2016 11:46:33 +0100 Subject: [PATCH] Remove publication date from article cards --- app/templates/magazine/article/includes/article_card.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/templates/magazine/article/includes/article_card.html b/app/templates/magazine/article/includes/article_card.html index 3e3e111f..0e2fb82d 100644 --- a/app/templates/magazine/article/includes/article_card.html +++ b/app/templates/magazine/article/includes/article_card.html @@ -57,9 +57,11 @@ {% endblock %} {% block subtitle %} - {{ object.publish_date|date:"DATE_FORMAT" }} + {% comment %} + {{ object.publish_date|date:"DATE_FORMAT" }} + {% endcomment %} {% for category in object.categories.all %} - {% if forloop.first %} | {% endif %} + {% comment %}{% if forloop.first %} | {% endif %}{% endcomment %} {% if not forloop.first %}, {% endif %} {{ category }} {% endfor %} -- 2.39.5