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 <FeaturePhoto
{width} {width}
role="img"
class="my-0" class="my-0"
textWidth="normal" src={img}
{notes} caption={notes}
{ariaDescription} altText={ariaDescription || ''}
> />
<FeaturePhoto
class="my-0"
width="fluid"
src={img}
caption={notes}
altText={ariaDescription || ''}
/>
</GraphicBlock>
{/if} {/if}
</div> </div>
</Block> </Block>