From afd273506691c01f736f544935a7569b9c397189 Mon Sep 17 00:00:00 2001 From: budparr Date: Mon, 16 Oct 2017 12:56:21 -0400 Subject: [PATCH] Be smarter about linking to posts on home page. Fixes #50 Hugo's `.Summary` did not behave as I expected it to, not stripping out HTML, so I removed the anchor block from around the posts and moved the links to the image, title and a read more button. --- layouts/partials/summary-with-image.html | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/layouts/partials/summary-with-image.html b/layouts/partials/summary-with-image.html index 63dc1f4..68ddc04 100644 --- a/layouts/partials/summary-with-image.html +++ b/layouts/partials/summary-with-image.html @@ -1,22 +1,29 @@ {{ $featured_image := .Params.featured_image }}
- +