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/_includes/post-excerpt.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'blog/_includes/post-excerpt.html') diff --git a/blog/_includes/post-excerpt.html b/blog/_includes/post-excerpt.html index e87b12b..b3616d8 100644 --- a/blog/_includes/post-excerpt.html +++ b/blog/_includes/post-excerpt.html @@ -1,13 +1,11 @@ {% assign post = include.post %} -
+
{% include post-header.html post = post %}
{% if post.page-image %} - {% if include.sidebar %} +
{{ post.page-image | img: "magick:resize:290x" }} - {% else %} - {{ post.page-image | img: "magick:resize:290x class:right" }} - {% endif %} +
{% endif %} {{ post.excerpt }}

{% t global.read_more %}

-- cgit v1.2.3