unwrap FeaturePhoto from GraphicBlock
This commit is contained in:
parent
f77abdd571
commit
42d4de2396
1 changed files with 5 additions and 14 deletions
|
|
@ -175,22 +175,13 @@
|
|||
|
||||
<!-- Otherwise render the image if it exists -->
|
||||
{:else if img}
|
||||
<GraphicBlock
|
||||
<FeaturePhoto
|
||||
{width}
|
||||
role="img"
|
||||
class="my-0"
|
||||
textWidth="normal"
|
||||
{notes}
|
||||
{ariaDescription}
|
||||
>
|
||||
<FeaturePhoto
|
||||
class="my-0"
|
||||
width="fluid"
|
||||
src={img}
|
||||
caption={notes}
|
||||
altText={ariaDescription || ''}
|
||||
/>
|
||||
</GraphicBlock>
|
||||
src={img}
|
||||
caption={notes}
|
||||
altText={ariaDescription || ''}
|
||||
/>
|
||||
{/if}
|
||||
</div>
|
||||
</Block>
|
||||
|
|
|
|||
Loading…
Reference in a new issue