{{ if .Site.Params.top_header }}
{{ end }}
{{ $top_banner := (index .Site.Data .Site.Language.Lang).homepage.top_banner }} {{ if and $top_banner.enable }} {{ if or (not $top_banner.temporarily.enable) (and $top_banner.temporarily.enable (and (le ($top_banner.temporarily.start_date | time.AsTime).Unix now.Unix ) (ge ($top_banner.temporarily.end_date | time.AsTime).Unix now.Unix))) }} {{ with $top_banner }}
{{ .text | markdownify }}
{{ end }} {{ end }} {{ end }} {{ if .Params.Gallery }} {{ if not ($.Page.Scratch.Get "photoswipeloaded") }} {{ $.Page.Scratch.Set "photoswipeloaded" 1 }} {{ end }} {{ end }}