From d42fa7395ee91b8dcfbe84ed62465ccbb9bca5ad Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 29 Jun 2015 12:52:37 +0100 Subject: [PATCH] Issue #6: Show posted date on teasers --- source/_layouts/post.html | 2 ++ source/_partials/post-header.html | 1 - source/blog.html | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/source/_layouts/post.html b/source/_layouts/post.html index 2cd5dc31..59cfba9b 100644 --- a/source/_layouts/post.html +++ b/source/_layouts/post.html @@ -4,8 +4,10 @@ {% block content_wrapper %}
+

{{ page.title }}

{% include 'post-header' %} + {% block content %}{% endblock %} {% if page.tags %} diff --git a/source/_partials/post-header.html b/source/_partials/post-header.html index 02f26a56..e336b164 100644 --- a/source/_partials/post-header.html +++ b/source/_partials/post-header.html @@ -1,4 +1,3 @@ -

{{ page.title }}

Posted: {{ page.date|date('jS F Y') }}

{# {% if page.tags %} diff --git a/source/blog.html b/source/blog.html index b40fedc6..1d878ce6 100644 --- a/source/blog.html +++ b/source/blog.html @@ -15,6 +15,9 @@ use: {% for post in page.pagination.items %}

{{ post.title }}

+ + {% include 'post-header' %} + {% if post.blocks.excerpt %} {{ post.blocks.excerpt|raw }} {% endif %}