{{ if .Params.show_banner -}} {{ $announcements := site.GetPage "announcements" -}} {{ if $announcements -}}