{namespace neos=Neos\Neos\ViewHelpers}
<div class="o-container o-container--sm {marginTop}">
    <figure class="c-image{f:if(condition: imageClassName, then: ' {imageClassName}')}">
        <f:render partial="SimpleImage" arguments="{_all}" />
        <f:if condition="!{hideCaption}">
            <figcaption class="c-image__caption">
                {neos:contentElement.editable(property: 'caption', node: node)}
            </figcaption>
        </f:if>
    </figure>
</div>
