diff --git a/themes/chosto/layouts/_default/summary.html b/themes/chosto/layouts/_default/summary.html index 5ffa370..768a05d 100644 --- a/themes/chosto/layouts/_default/summary.html +++ b/themes/chosto/layouts/_default/summary.html @@ -3,8 +3,8 @@
{{ $imageURL := "https://bulma.io/images/placeholders/480x320.png" }} {{ with .Resources.GetMatch "top.jpg" }} - {{ $image := .Fill "480x320 left" }} - {{ $imageURL = $image.Permalink }} + {{ $image := .Fill "480x320 left" }} + {{ $imageURL = $image.Permalink }} {{ end }} Placeholder image
@@ -40,23 +40,34 @@ {{ if (isset .Params "summary" )}} - {{ .Params.summary }} + {{ .Params.summary }} {{ else }} - {{ .Content | plainify | safeHTML | truncate 300 "..." }} + {{ .Content | plainify | safeHTML | truncate 300 "..." }} {{ end }} - + + + \ No newline at end of file