{{ $exhibitions := . }} {{ $current_exhibitions := where $exhibitions "Params.dates.status" "current" }} {{ $future_exhibitions := where $exhibitions "Params.dates.status" "future" }} {{ if (or $current_exhibitions $future_exhibitions) }}