{namespace neos=Neos\Neos\ViewHelpers}

<f:if condition="{node.parent.parent.nodetype} == 'Newland.CityTheme:Container'">
    <section class="o-container o-container--sm">
</f:if>

<div class="c-button__wrapper {marginTop} {buttonAlignment}">
    <a class="c-button {buttonType} {buttonColor}" href="{link}" title="{linkTitle}" {f:if(condition: openLinkInNewWindow, then: 'target="_blank"')}>
        {linkTitle}
    </a>
</div>


<f:if condition="{node.parent.parent.nodetype} == 'Newland.CityTheme:Container'">
    </section>
</f:if>
