diff options
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}, |