diff --git a/layouts/partials/author-card.html b/layouts/partials/author-card.html index 839874b..ec9fb7f 100644 --- a/layouts/partials/author-card.html +++ b/layouts/partials/author-card.html @@ -1,7 +1,7 @@ {{- /* Inline author byline for post single pages. Expects the author page as context (.). */ -}} -
+
{{- $avatarRes := .Resources.GetMatch "avatar.*" -}} {{- if $avatarRes -}} {{- $av := $avatarRes.Resize "96x webp" -}}