diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-01-11 08:52:42 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-01-11 18:07:59 -0400 |
commit | d27ceb4165cd41ae5caec663514d00e74d50302e (patch) | |
tree | bb177ef485a3e966e1c647e32743a02774b5a53d /src/content/dependencies | |
parent | 3b3b16c0a0a2c4a244ed21f12592097324b05bdf (diff) |
content, css: select .image instead of img
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/image.js | 2 |
1 files changed, 2 insertions, 0 deletions
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}, |