Add publication time to the theme
parent
53cc5442dc
commit
5348273b16
@ -1,7 +1,8 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
{% set page_title = article.title %}
|
{% set page_title = article.title %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
<div class="details"><time datetime="{{ article.date.isoformat() }}">{{article.locale_date}}</time></div>
|
||||||
<h1>{{ article.title }}</h1>
|
<h1>{{ article.title }}</h1>
|
||||||
{# TODO: more details here #}
|
{# TODO: more details here: update, language, translations, maybe different style for drafts? summary? tags, categories #}
|
||||||
{{ article.content }}
|
{{ article.content }}
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
Loading…
Reference in New Issue