Wrap articles in an article element

This commit is contained in:
Gabriel Augendre 2020-08-14 22:07:04 +02:00
parent 7ab0f6ee24
commit f45db63493

View file

@ -1,12 +1,14 @@
{% extends 'articles/base.html' %}
{% block content %}
<h1>{{ article.title }}</h1>
<p>By: {{ article.author }}</p>
<p>Published at: {{ article.published_at }}</p>
<p>Updated at: {{ article.updated_at }}</p>
<article>
<h1>{{ article.title }}</h1>
<p>By: {{ article.author }}</p>
<p>Published at: {{ article.published_at }}</p>
<p>Updated at: {{ article.updated_at }}</p>
<div>
{{ article.get_formatted_content|safe }}
</div>
<div>
{{ article.get_formatted_content|safe }}
</div>
</article>
{% endblock %}