update blog template
This commit is contained in:
parent
9bcc66a9d4
commit
b19b41ea84
1 changed files with 9 additions and 10 deletions
|
@ -5,14 +5,13 @@
|
|||
{% block body_class %}template-blogpage{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
<p class="meta">{{ page.date }}</p>
|
||||
|
||||
{% if page.main_image %}
|
||||
{% image page.main_image width-400 %}
|
||||
{% endif %}
|
||||
|
||||
<div class="intro">{{ page.intro }}</div>
|
||||
|
||||
{% include 'common/header.html' with page=page %}
|
||||
<section>
|
||||
<div class="container">
|
||||
<p class="text-right small">
|
||||
Published: {{ page.date|datetime }}
|
||||
</p>
|
||||
{{ page.body|richtext }}
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
|
Reference in a new issue