From 3597b59fa544d7581d61d30fea228b4033313efd Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Wed, 3 Jul 2024 07:34:50 -0700 Subject: [PATCH] render-image.html: Add the figure--image class Add the `figure--image` class to
elements with contents. --- layouts/_default/_markup/render-image.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index 753bd43..0091b6a 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -1,10 +1,10 @@ {{- if .IsBlock }} -
+
{{ . }} {{- with .Title }} -
{{ . }}
+
{{ . }}
{{- end }}
{{ else -}}