{{ $determineThemeJS := resources.Get "js/determine_theme.js" | fingerprint | minify }} {{ printf "%s | %s" (or .Params.banner_title .Title) .Site.Title }} {{ $description := partial "create_description.html" . }} {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }} {{ block "early_connections" . }} {{ end }} {{ $cssResource := resources.Get "css/styles.css" | resources.Minify | resources.Fingerprint }} {{ $changeThemeJS := resources.Get "js/change_theme.js" | fingerprint | minify }} {{ block "script_includes" . }} {{ end }} {{ $matomoJS := resources.Get "js/matomo.js" | fingerprint | minify }} {{- partial "navbar.html" . -}} {{ if eq .Kind "home" }} {{- partial "hero.html" . -}} {{ else }} {{- partial "banner.html" . -}} {{ end }} {{ $isGenomePage := eq .RelPermalink "/genome-browser/" }} {{ if and (not $isGenomePage) (not .IsHome) }} {{- partial "breadcrumbs.html" . -}} {{ end }} {{- block "header" . }}{{- end }}
{{ if $isGenomePage }}
{{ else }}
{{ end }} {{ if .Params.toc }}
{{- partial "toc.html" . -}}
{{- block "main" . }}{{- end }}
{{ else }} {{- block "main" . }}{{- end }} {{ end }}
{{ if not $isGenomePage }}
{{- partial "footer.html" . -}} {{ end }} {{ if .Store.Get "needsClipboardJS" }} {{ $clipboardJS := resources.Get "js/clipboard.js" | fingerprint | minify }} {{ end }} {{ if .Store.Get "needsDate" }} {{ $todaysDateJS := resources.Get "js/todays_date.js" | fingerprint | minify }} {{ end }}