diff --git a/wowchemy/layouts/partials/li_card.html b/wowchemy/layouts/partials/li_card.html index 5cf2e28e..fc1b375a 100644 --- a/wowchemy/layouts/partials/li_card.html +++ b/wowchemy/layouts/partials/li_card.html @@ -43,9 +43,11 @@ {{ $resource := ($item.Resources.ByType "image").GetMatch "*featured*" }} {{ $anchor := $item.Params.image.focal_point | default "Smart" }} {{ with $resource }} + {{ $filters := slice (images.GaussianBlur 21) (images.Pixelate 8) }} {{ $image := .Fill (printf "808x455 %s" $anchor) }} + {{ $image_lq := (.Fill (printf "808x455 %s q1" $anchor)).Filter $filters }} -
{{ $item.Title }}
+
{{ $item.Title }}
{{end}} diff --git a/wowchemy/layouts/partials/li_compact.html b/wowchemy/layouts/partials/li_compact.html index e52ed30a..0b71c75e 100644 --- a/wowchemy/layouts/partials/li_compact.html +++ b/wowchemy/layouts/partials/li_compact.html @@ -78,9 +78,11 @@
{{ $resource := ($item.Resources.ByType "image").GetMatch "*featured*" }} {{ with $resource }} + {{ $filters := slice (images.GaussianBlur 21) (images.Pixelate 8) }} {{ $image := .Resize "150x" }} + {{ $image_lq := (.Resize "150x q1").Filter $filters }} - {{ $item.Title }} + {{ $item.Title }} {{end}}
diff --git a/wowchemy/layouts/partials/portfolio_li_card.html b/wowchemy/layouts/partials/portfolio_li_card.html index feef4b10..afd35ced 100644 --- a/wowchemy/layouts/partials/portfolio_li_card.html +++ b/wowchemy/layouts/partials/portfolio_li_card.html @@ -20,9 +20,11 @@
{{ with $resource }} - {{ $image := .Resize (printf "550x q90 %s") }} + {{ $filters := slice (images.GaussianBlur 21) (images.Pixelate 8) }} + {{ $image := .Resize "550x" }} + {{ $image_lq := (.Resize "550x q1").Filter $filters }} - {{ $item.Title }} + {{ $item.Title }} {{ end }}
diff --git a/wowchemy/layouts/partials/portfolio_li_showcase.html b/wowchemy/layouts/partials/portfolio_li_showcase.html index 1a436abe..2480a988 100644 --- a/wowchemy/layouts/partials/portfolio_li_showcase.html +++ b/wowchemy/layouts/partials/portfolio_li_showcase.html @@ -51,9 +51,11 @@
{{ $resource := ($item.Resources.ByType "image").GetMatch "*featured*" }} {{ with $resource }} + {{ $filters := slice (images.GaussianBlur 21) (images.Pixelate 8) }} {{ $image := .Resize "540x" }} + {{ $image_lq := (.Resize "540x q1").Filter $filters }} {{if $do_link}}{{end}} - {{ $item.Title }} + {{ $item.Title }} {{if $do_link}}{{end}} {{end}}