]> git.parisson.com Git - mezzo.git/commitdiff
Remove publication date from article cards
authorJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Tue, 8 Nov 2016 10:46:33 +0000 (11:46 +0100)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Tue, 8 Nov 2016 10:46:33 +0000 (11:46 +0100)
app/templates/magazine/article/includes/article_card.html

index 3e3e111fcf457f693ee21e3078bd9c5da75e3bad..0e2fb82db85d14fa069cab131b2d468a2555d452 100644 (file)
 {% 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 %}
         <strong>{{ category }}</strong>
     {% endfor %}