From 0cb9284d51b16d192f42e2d2a4c12a2911668b2e Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 10 Mar 2017 19:26:11 +0100 Subject: First attempt at responsive design for site. - Droppped sidebar from all pages. - Wrapped post images in a div for easier styling. - Drop the Inferno banner on too small displays. Most stuff works quite well for a first attempt, mthinks. --- blog/_layouts/post.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'blog/_layouts/post.html') diff --git a/blog/_layouts/post.html b/blog/_layouts/post.html index 555bdc6..8a3cccb 100644 --- a/blog/_layouts/post.html +++ b/blog/_layouts/post.html @@ -5,9 +5,11 @@ layout: default
{% include post-header.html post = page %}
- {% if page.page-image %} - {{ page.page-image | img: "magick:resize:590x" }} - {% endif %} +
+ {% if page.page-image %} + {{ page.page-image | img: "magick:resize:590x" }} + {% endif %} +
{{ content }}