Wrap articles in an article element
This commit is contained in:
parent
7ab0f6ee24
commit
f45db63493
1 changed files with 9 additions and 7 deletions
|
@ -1,6 +1,7 @@
|
|||
{% extends 'articles/base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<article>
|
||||
<h1>{{ article.title }}</h1>
|
||||
<p>By: {{ article.author }}</p>
|
||||
<p>Published at: {{ article.published_at }}</p>
|
||||
|
@ -9,4 +10,5 @@
|
|||
<div>
|
||||
{{ article.get_formatted_content|safe }}
|
||||
</div>
|
||||
</article>
|
||||
{% endblock %}
|
||||
|
|
Reference in a new issue