From a84e96e6d60a8faf8368b35f0b6ff89a792b7562 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 13 Apr 2015 21:15:09 +0100 Subject: [PATCH] Removed sidebar --- source/404.html.twig | 10 +-------- source/blog.html.twig | 22 +++++-------------- .../opdavies/_layouts/default.html.twig | 12 ++-------- 3 files changed, 9 insertions(+), 35 deletions(-) diff --git a/source/404.html.twig b/source/404.html.twig index b4f147ec3..efda03e44 100644 --- a/source/404.html.twig +++ b/source/404.html.twig @@ -3,12 +3,4 @@ layout: default title: Page Not Found permalink: /404.html --- -{% block content_wrapper %} -
- {% block content %} -

Page Not Found

- {% endblock %} -
{# .col.md-12 #} -{% endblock %} - -{% block sidebar %}{% endblock %} \ No newline at end of file +

Page Not Found

\ No newline at end of file diff --git a/source/blog.html.twig b/source/blog.html.twig index 6f5cf2115..1ff623ed0 100644 --- a/source/blog.html.twig +++ b/source/blog.html.twig @@ -5,20 +5,10 @@ nav: blog use: - posts --- -{% block content_wrapper %} -
- {% block content %} -

Blog

+

Blog

- {% if data.posts %} - - {% endif %} - {% endblock %} -
{# .col.md-12 #} -{% endblock %} - -{% block sidebar %}{% endblock %} \ No newline at end of file + \ No newline at end of file diff --git a/source/themes/opdavies/opdavies/_layouts/default.html.twig b/source/themes/opdavies/opdavies/_layouts/default.html.twig index 1c9ba444d..6b8083a9a 100644 --- a/source/themes/opdavies/opdavies/_layouts/default.html.twig +++ b/source/themes/opdavies/opdavies/_layouts/default.html.twig @@ -20,15 +20,7 @@
{% block content_wrapper %} -
- {% block content %}{% endblock %} -
- {% endblock %} - - {% block sidebar %} -
- {% include 'latest-posts' %} -
+ {% block content %}{% endblock %} {% endblock %}
{# .row #} @@ -40,4 +32,4 @@ {% include 'footer-scripts' %} - \ No newline at end of file +