From d27ceb4165cd41ae5caec663514d00e74d50302e Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 11 Jan 2024 08:52:42 -0400 Subject: content, css: select .image instead of img --- src/content/dependencies/image.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/content/dependencies/image.js') diff --git a/src/content/dependencies/image.js b/src/content/dependencies/image.js index 2876bad3..6d58bd23 100644 --- a/src/content/dependencies/image.js +++ b/src/content/dependencies/image.js @@ -127,6 +127,8 @@ export default { const willSquare = slots.square; const imgAttributes = html.attributes([ + {class: 'image'}, + slots.alt && {alt: slots.alt}, slots.width && {width: slots.width}, slots.height && {height: slots.height}, -- cgit 1.3.0-6-gf8a5