From 978791808f9d28377164ed7602d1003a9b7dc68e Mon Sep 17 00:00:00 2001 From: stereobooster Date: Tue, 31 Oct 2023 18:14:03 +0100 Subject: [PATCH] integrate in single.html --- layouts/_default/single.html | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 340e95a1..90e41daa 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -15,25 +15,9 @@ {{ with $feature }}
- {{ $.Params.featureAlt | default $.Params.coverAlt | default + {{ $altText := $.Params.featureAlt | default $.Params.coverAlt | default "" }} + {{ $class := "mb-6 -mt-4 rounded-md" }} + {{ partial "pictureDefaults.html" (dict "img" . "alt" $altText "class" $class) }} {{ with $.Params.coverCaption }}
{{ . | markdownify }}
{{ end }}