unwrap FeaturePhoto from GraphicBlock

This commit is contained in:
hobbes7878 2025-04-18 14:46:22 +01:00
parent f77abdd571
commit 42d4de2396
Failed to extract signature

View file

@ -175,22 +175,13 @@
<!-- Otherwise render the image if it exists --> <!-- Otherwise render the image if it exists -->
{:else if img} {:else if img}
<GraphicBlock
{width}
role="img"
class="my-0"
textWidth="normal"
{notes}
{ariaDescription}
>
<FeaturePhoto <FeaturePhoto
{width}
class="my-0" class="my-0"
width="fluid"
src={img} src={img}
caption={notes} caption={notes}
altText={ariaDescription || ''} altText={ariaDescription || ''}
/> />
</GraphicBlock>
{/if} {/if}
</div> </div>
</Block> </Block>