Feat/add weekly notes 10 (#10)
* fix: update some asset URLs * feat: add weekly-notes-10 * feat(weekly-notes-10): Add a little more * feat(weekly-notes-10: proof-reading * feat(weekly-notes-10): more content * feat(weekly-notes-10): proof-read * feat: add `flow` class to footnotes section * fix: center images within picture element * feat(weekly-notes-10): more content and added skip
This commit is contained in:
parent
6224499876
commit
08da130d58
4 changed files with 207 additions and 3 deletions
|
@ -56,15 +56,15 @@ const imageShortcode = async (
|
|||
});
|
||||
|
||||
const imageElement = caption
|
||||
? `<figure class="[ flow flex-col items-center justify-center ]${className ? ` ${className}` : ""}">
|
||||
<picture>
|
||||
? `<figure class="[ flow flex-col items-center justify-center ${className ? ` ${className} ` : ""}]">
|
||||
<picture class="flex items-center justify-center">
|
||||
${imageSources}
|
||||
<img
|
||||
${imageAttributes}>
|
||||
</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