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 body_class %}template-blogpage{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>{{ page.title }}</h1>
|
{% include 'common/header.html' with page=page %}
|
||||||
<p class="meta">{{ page.date }}</p>
|
<section>
|
||||||
|
<div class="container">
|
||||||
{% if page.main_image %}
|
<p class="text-right small">
|
||||||
{% image page.main_image width-400 %}
|
Published: {{ page.date|datetime }}
|
||||||
{% endif %}
|
</p>
|
||||||
|
{{ page.body|richtext }}
|
||||||
<div class="intro">{{ page.intro }}</div>
|
</div>
|
||||||
|
</section>
|
||||||
{{ page.body|richtext }}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Reference in a new issue