prototype(Newland.CityTheme:FactTeaser) < prototype(Neos.Neos:Content) {

    templatePath = 'resource://Newland.CityTheme/Private/Templates/NodeTypes/FactTeaser.html'

    link = ${q(node).property('link')}
    link.@process.convertUris = Neos.Neos:ConvertUris

    linkTarget = '_blank'
    linkTarget.@if.external = ${String.indexOf(q(node).property('link'), 'node://') == -1}

    // Wrap GridTeaser width appropirate grid item markup and set selected width
    @process.wrapTeaser = ${'<div class="o-grid__item">' + value + '</div>'}

}
