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