{{ if .IsHome }}
{{ else }} {{ $banner_page := . }} {{ if or (eq .Section "highlights") (eq .Section "tags") (eq .Section "authors") }} {{ $banner_page = .Site.GetPage "section" "highlights" }} {{ else if eq .Section "news" }} {{ $banner_page = .Site.GetPage "section" "news" }} {{ else if and .Params.tab (not .IsSection) }} {{/* A tab page keeps its section title in the banner, so the banner stays the same across tabs */}} {{ $banner_page = .CurrentSection }} {{ else if not $banner_page.Title }} {{ $banner_page = .FirstSection }} {{ end }} {{ $header_image := $banner_page.Params.header_image | default "/img/illustrations/bubble_matrix.png" }} {{ $title := $banner_page.Title }} {{ $text := $banner_page.Params.description | default "" }}

{{ $title }}

{{ with $text }} {{ . }} {{ end }}
{{ end }} {{ if .Ancestors }} {{ end }}