Fix list template for HTML compliance (remove p tag)
This commit is contained in:
parent
ee0289382c
commit
677d752873
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
<article class="article-list">
|
<article class="article-list">
|
||||||
<h2><a href="{% url 'article-detail' slug=article.slug %}">{{ article.title }}</a></h2>
|
<h2><a href="{% url 'article-detail' slug=article.slug %}">{{ article.title }}</a></h2>
|
||||||
{% include "articles/metadata_snippet.html" %}
|
{% 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>
|
<p class="read-more"><a href="{% url 'article-detail' slug=article.slug %}">Read more...</a></p>
|
||||||
</article>
|
</article>
|
||||||
{% empty %}
|
{% empty %}
|
||||||
|
|
Reference in a new issue