{{ $toc := partial "toc.html" (dict "page" .) }} {{ $needTOC := .Scratch.Get "needTOC" }} {{ if and $needTOC (ne .Params.force_inline_toc true) }}
{{ else }}
{{ end }}
{{ if or $section.Params.sidebar_singlecard $section.Params.sidebar_multicard }} {{ end }}
{{- if .Params.icon -}} {{- partial "icon.html" .Params.icon -}} {{- end -}}
{{ if .Params.decoration }}

{{- .Title -}}

{{ else }}

{{- .Title -}}

{{ end }} {{ if .Params.subtitle }} {{ if (strings.HasSuffix .Params.subtitle ".") }} {{ errorf "Subtitles should not end in a period: '%s" .Params.subtitle }} {{ else }}

{{ .Params.subtitle }}

{{ end }} {{ end }} {{ if not .Params.skip_byline }} {{ if or .Params.attribution (gt .Page.ReadingTime 1) (ne .PublishDate.Year 0001) }} {{ end }} {{ end }}
{{ if $needTOC }} {{ end }} {{ if .Page.Params.target_release }} {{ $page_parts := split .Page.Params.target_release "." }} {{ $page_version := int (index $page_parts 0) }} {{ $page_revision := int (index $page_parts 1) }} {{ $page_normalized_version := add (add (mul $page_version 1000000) (mul $page_revision 1000)) 0 }} {{ $site_parts := split .Site.Data.args.version "." }} {{ $site_version := int (index $site_parts 0) }} {{ $site_revision := int (index $site_parts 1) }} {{ $site_normalized_version := add (add (mul $site_version 1000000) (mul $site_revision 1000)) 0 }} {{ if gt $site_normalized_version $page_normalized_version }}
{{ end }} {{ end }}