From 57bcc6d1ace2994d15e22e5d481f1569443412b6 Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 10 Oct 2023 07:28:20 +0200 Subject: [PATCH] Refactor featured section --- layouts/partials/home/featured.html | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 layouts/partials/home/featured.html diff --git a/layouts/partials/home/featured.html b/layouts/partials/home/featured.html deleted file mode 100644 index a3c37d2d..00000000 --- a/layouts/partials/home/featured.html +++ /dev/null @@ -1,21 +0,0 @@ -
-
-
-
-

{{ .Title }}

-

{{ .Content }}

-

-
- {{- $thumbnail := (or (and (reflect.IsMap .Params.Thumbnail) .Params.Thumbnail.url) .Params.Thumbnail) -}} - {{- $thumbnail = or $thumbnail .Site.Params.home.featurePhoto -}} - {{ if .Site.Params.home.featurePhoto }} - {{ warnf "DEPRECATED: parameter `Params.home.featurePhoto` has been deprecated in release v0.18"}} - {{ end }} - {{- if $thumbnail -}} - {{- partial "assets/image.html" (dict "url" $thumbnail "ratio" "16x9" "outerClass" "img-wrap" "innerClass" "rounded" "title" .Site.Title) -}} - {{ end }} -
-
-
-
-
\ No newline at end of file