{{ $is_repeating := gt .Params.time_slots 1 }} {{ $multiple_dates_event := ne .Params.dates.from.day .Params.dates.to.day }} {{ $is_parent := .Params.children}} {{ $has_primary_date := or $is_repeating $multiple_dates_event $is_parent }}