@if($item->content || $item->layout_type == "blocks")
@else
@title($item->title)
@endif
@if(!empty($item->end_date))
{{ event_date($item->date, $item->end_date) }}
@else
{{ format_date($item->date, true) }}
@endif
@if(!empty($item->author))
@lang('frontend.by') {{ $item->author }}
@endif
@if(!empty($item->location))
{{ $item->location }}
@endif
@if(!empty($item->type))
@lang('frontend.article_type_' . $item->type)
@endif
@if(!empty($eventsDetail->undertitle))
{{ $eventsDetail->undertitle }}
@endif
@include('frontend.templates.components.share_button_small', array(
'shareTitle' => strip_tags($item->title),
'shareDescription' => strip_tags($item->summary),
'shareImage' => ($item->media ? getMediaUrl($item->media->filename, '1200x627') : ''),
'shareUrl' => lang_url($item->lang_uri)
))
@if(!$item->document->isEmpty() && !$item->isPublication)
@endif
@if(!empty($item->pardot_url))
$item->title, "url" => $item->pardot_url ])) }}"
data-controller="components/form-modal"
data-popupid="download-modal"
>
@endif
@if(!empty($item->end_date))
@include('frontend.templates.components.add_to_calendar', ['event' => $item])
@endif