feat: add weekly-notes-10
This commit is contained in:
parent
6224499876
commit
4070b6dcda
3 changed files with 177 additions and 2 deletions
|
@ -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}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue