From c49f13d4e4be755dd424e484c5c83f5b5f07333b Mon Sep 17 00:00:00 2001 From: Emiliano Tortorella Date: Sun, 24 Mar 2019 23:07:05 -0500 Subject: [PATCH] changes on summary-with-image.html --- layouts/partials/summary-with-image.html | 26 +++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/layouts/partials/summary-with-image.html b/layouts/partials/summary-with-image.html index 48ce247..6bca70e 100644 --- a/layouts/partials/summary-with-image.html +++ b/layouts/partials/summary-with-image.html @@ -1,29 +1,41 @@ {{ $featured_image := .Params.featured_image }}
-
+
{{ if .Params.featured_image }} {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} {{ $featured_image := (trim $featured_image "/") | absURL }}
- - image from {{ .Title }} - +
+ + image from {{ .Title }} + +
+ {{ partial "social-follow.html" . }} +
+
{{ end }}
-

+

{{ .Title }}

+
{{ partial "date.html" . }} +
- {{$.Param "read_more_copy" | default "read more" }} + {{/* TODO: add author -

By {{ .Author }}

*/}} +

By {{ .Author }}

+ */}}