From 14b3c6fb6c875f344043c9c262643747bfd0a984 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 27 May 2016 19:38:20 +0100 Subject: [PATCH] Fixed post width --- source/_layouts/post.html.twig | 77 ++++++++++++++++------------------ 1 file changed, 37 insertions(+), 40 deletions(-) diff --git a/source/_layouts/post.html.twig b/source/_layouts/post.html.twig index 314cfb56..d1762642 100644 --- a/source/_layouts/post.html.twig +++ b/source/_layouts/post.html.twig @@ -1,50 +1,47 @@ -{% extends 'default.html.twig' %} +{% extends 'default' %} {% block content_wrapper %} -
- {% include('post-header') %} + {% include('post-header') %} - {% block content %}{% endblock %} + {% block content %}{% endblock %} -

- Have feedback on this post? Email me or send me a tweet. +

+ Have feedback on this post? Email me or send me a tweet. +

+ + {% if page.related -%} +

Related Posts

+ + + {%- endif %} + + {% if page.tags %} +

+ Tags: + {% for tag in page.tags %} + {{ tag }}{% if not loop.last %}, {% endif %} + {% endfor %}

+ {% endif %} - {% if page.related -%} -

Related Posts

+
+

About the Author

- - {%- endif %} + Picture of Oliver - {% if page.tags %} -

- Tags: - {% for tag in page.tags %} - {{ tag }}{% if not loop.last %}, {% endif %} - {% endfor %} -

- {% endif %} +

{{ site.author.bio|raw }}

+
-
-

About the Author

- - Picture of Oliver - -

{{ site.author.bio|raw }}

-
- - {% if page.next_post or page.previous_post %} - - {% endif %} - -
+ {% if page.next_post or page.previous_post %} + + {% endif %} {% endblock %}