@foreach($ads as $ad) @php($countAds = count($ads))
$countAds > 2])>
{!! Theme::partial('shortcodes.ads.includes.item', ['item' => $ad]) !!}
@if($subtitle = $ad->getMetaData('subtitle', true)) {!! BaseHelper::clean(nl2br($subtitle)) !!} @endif @if($title = $ad->getMetaData('title', true))

@if ($ad->url) open_in_new_tab) target="_blank" @endif> @endif {!! BaseHelper::clean(nl2br($title)) !!} @if ($ad->url) @endif

@endif @if($buttonLabel = $ad->getMetaData('button_label', true)) @endif
@endforeach