Issue #6: Show posted date on teasers

This commit is contained in:
Oliver Davies 2015-06-29 12:52:37 +01:00
parent 759dfbf37c
commit d42fa7395e
3 changed files with 5 additions and 1 deletions

View file

@ -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 %}

View file

@ -1,4 +1,3 @@
<h1>{{ page.title }}</h1>
<p class="posted">Posted: {{ page.date|date('jS F Y') }}</p>
{#
{% if page.tags %}

View file

@ -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 %}