From ac7a89f4d37cb0c2f27a8a7ef9829e7dbf004062 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 1 Apr 2015 00:07:25 +0100 Subject: [PATCH] Issue #2: Hide the latest posts block on the Blog page --- source/blog.html.twig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/blog.html.twig b/source/blog.html.twig index 0385725a2..1dd4eda09 100644 --- a/source/blog.html.twig +++ b/source/blog.html.twig @@ -5,6 +5,7 @@ nav: blog use: - posts --- +{% block content %}

Blog

{% if data.posts %} @@ -13,4 +14,7 @@ use:
  • {{ post.title }}
  • {% endfor %} -{% endif %} \ No newline at end of file +{% endif %} +{% endblock %} + +{% block sidebar %}{% endblock %} \ No newline at end of file