Issue #6: Show posted date on teasers
This commit is contained in:
parent
759dfbf37c
commit
d42fa7395e
|
@ -4,8 +4,10 @@
|
|||
|
||||
{% block content_wrapper %}
|
||||
<div class="col-md-10">
|
||||
<h1>{{ page.title }}</h1>
|
||||
|
||||
{% include 'post-header' %}
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
|
||||
{% if page.tags %}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
<h1>{{ page.title }}</h1>
|
||||
<p class="posted">Posted: {{ page.date|date('jS F Y') }}</p>
|
||||
{#
|
||||
{% if page.tags %}
|
||||
|
|
|
@ -15,6 +15,9 @@ use:
|
|||
{% for post in page.pagination.items %}
|
||||
<article class="post">
|
||||
<h2>{{ post.title }}</h2>
|
||||
|
||||
{% include 'post-header' %}
|
||||
|
||||
{% if post.blocks.excerpt %}
|
||||
{{ post.blocks.excerpt|raw }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue