From fd491f7b2075fc0485c0c946c2f7eceb11867227 Mon Sep 17 00:00:00 2001 From: Alexander Avery Date: Fri, 9 Aug 2024 14:06:31 -0400 Subject: [PATCH] article partials use new css classes --- layouts/partials/article-alternate.html | 10 +++--- layouts/partials/article.html | 45 +++++++++++-------------- 2 files changed, 25 insertions(+), 30 deletions(-) diff --git a/layouts/partials/article-alternate.html b/layouts/partials/article-alternate.html index ab1df6c..61c4ba9 100644 --- a/layouts/partials/article-alternate.html +++ b/layouts/partials/article-alternate.html @@ -1,9 +1,9 @@ - -
+ +
- {{ with .Resources.GetMatch "avatar" }} - {{ .Params.alt }} - {{ end }} + {{ with .Resources.GetMatch "avatar" }} + {{ .Params.alt }} + {{ end }}

{{ .Params.name }}

diff --git a/layouts/partials/article.html b/layouts/partials/article.html index c0b7abf..4e91338 100644 --- a/layouts/partials/article.html +++ b/layouts/partials/article.html @@ -1,27 +1,22 @@ -
-
- - {{ $image := .Resources.GetMatch "featured" }} - {{ partial "image.html" (dict "image" $image "alt" .Params.featured.alt "class" "fill-wh")}} - -
-