feat: add weekly-notes-10

This commit is contained in:
Devin Haska 2024-11-21 19:36:05 -08:00
parent 6224499876
commit 4070b6dcda
No known key found for this signature in database
3 changed files with 177 additions and 2 deletions

View file

@ -56,7 +56,7 @@ const imageShortcode = async (
});
const imageElement = caption
? `<figure class="[ flow flex-col items-center justify-center ]${className ? ` ${className}` : ""}">
? `<figure class="[ flow flex-col items-center justify-center ${className ? ` ${className} ` : ""}]">
<picture>
${imageSources}
<img
@ -64,7 +64,7 @@ const imageShortcode = async (
</picture>
<figcaption>${caption}</figcaption>
</figure>`
: `<picture class="[ flex-col items-center justify-center ]${className ? `${className}` : ""}">
: `<picture class="[ flex-col items-center justify-center ${className ? ` ${className} ` : ""}]">
${imageSources}
<img
${imageAttributes}>