{{ if .IsHome }} {{ $.Scratch.Set "title" .Site.Title }} {{ if .Site.Params.subtitle }}{{ $.Scratch.Set "subtitle" .Site.Params.subtitle }}{{ end }} {{ if .Site.Params.bigimg }}{{ $.Scratch.Set "bigimg" .Site.Params.bigimg }}{{ end }} {{ else }} {{ $.Scratch.Set "title" .Title }} {{ if .Params.subtitle }}{{ $.Scratch.Set "subtitle" .Params.subtitle }}{{ end }} {{ if .Params.bigimg }}{{ $.Scratch.Set "bigimg" .Params.bigimg }}{{ end }} {{ end }} {{ $bigimg := $.Scratch.Get "bigimg" }} {{ if or $bigimg ($.Scratch.Get "title") }} {{ if $bigimg }}
{{ end }} {{ if .IsHome }}
Apertis

Collaborative OS platform for products

{{ else }}
{{ if $bigimg }}
{{ $subtitle := $.Scratch.Get "subtitle" }}

{{ with $.Scratch.Get "title" }}{{.}}{{ else }}
{{ end }}

{{ if $subtitle }} {{ if eq .Type "page" }}
{{ $subtitle }} {{ else }}

{{ $subtitle }}

{{ end }} {{ end }} {{ if eq .Type "post" }} {{ partial "post_meta.html" . }} {{ end }}
{{end}}
{{ $subtitle := $.Scratch.Get "subtitle" }}

{{ with $.Scratch.Get "title" }}{{.}}{{ else }}
{{ end }}

{{ $date := .Date.Format "02.01.2006" }} {{ $lastmod := .Lastmod.Format "2006-01-02" }} {{ if (ne $lastmod "0001-01-01") }}

Last updated: {{ $lastmod }}

{{ end }} {{ if ( .Params.status )}}

Status: {{ .Params.status }}

{{ .Params.statusDescription }}

{{ end }} {{ if $subtitle }} {{ if eq .Type "page" }}
{{ $subtitle }} {{ else }}

{{ $subtitle }}

{{ end }} {{ end }} {{ if eq .Type "post" }} {{ partial "post_meta.html" . }} {{ end }}
{{ end }} {{ else }}
{{ end }}