Fix list template for HTML compliance (remove p tag)

This commit is contained in:
Gabriel Augendre 2020-08-25 14:16:58 +02:00
parent ee0289382c
commit 677d752873
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -9,7 +9,7 @@
<article class="article-list">
<h2><a href="{% url 'article-detail' slug=article.slug %}">{{ article.title }}</a></h2>
{% include "articles/metadata_snippet.html" %}
<p>{{ article.get_abstract|safe }}</p>
{{ article.get_abstract|safe }}
<p class="read-more"><a href="{% url 'article-detail' slug=article.slug %}">Read more...</a></p>
</article>
{% empty %}