{{template "css"}}

{{cp $.Copy "page.title" $.Preview}}

{{md .Copy "page.intro"}}

{{cp $.Copy "page.writeup_link" $.Preview}}

{{cp $.Copy "findings.heading" $.Preview}}

{{md .Copy "findings.body"}}

{{cp $.Copy "glance.heading" $.Preview}}

{{- range .Results}} {{- if live .}} {{- else}} {{- end}} {{- end}}
{{cp $.Copy "glance.col.setup" $.Preview}}{{cp $.Copy "glance.col.tests" $.Preview}}{{cp $.Copy "glance.col.first_byte" $.Preview}}{{cp $.Copy "glance.col.wake" $.Preview}}{{cp $.Copy "glance.col.reads" $.Preview}}{{cp $.Copy "glance.col.binary" $.Preview}}{{cp $.Copy "glance.col.build" $.Preview}}{{cp $.Copy "glance.col.lines" $.Preview}}{{cp $.Copy "glance.col.deps" $.Preview}}{{cp $.Copy "glance.col.cost" $.Preview}}{{cp $.Copy "glance.col.readability" $.Preview}}
{{.Language}} {{.BehaviourJSOn.Passed}}/{{ran .BehaviourJSOn}} ยท {{.BehaviourJSOff.Passed}}/{{ran .BehaviourJSOff}} {{ms .TTFBEmpty.P50}}{{ms (wake .)}}{{num (peak . "read")}} {{mb (float .Build.Bytes)}}{{secs .Build.ColdSeconds}} / {{secs .Build.EditSeconds}} {{loc .Code}}{{.Code.Deps}}{{usd (total .).CostUSD}}{{.Readability.Overall}}/10
{{.Language}}{{.Status}}
{{range .Charts}}{{$ch := .}}

{{if $.Preview}}{{.Title}}{{else}}{{.Title}}{{end}}

{{if $.Preview}}{{.Note}}{{else}}{{.Note}}{{end}}

{{.SVG}} {{- if .HasParts}}
{{range .Parts}}{{end}} {{- range .Rows}}{{if .Parts}}{{range .Parts}}{{end}}{{end}}{{end}}
{{cp $.Copy "glance.col.setup" $.Preview}}{{.}}
{{.Language}}{{num .}}
{{- end}}
{{end}}

{{cp $.Copy "apps.heading" $.Preview}}

{{range .Results}}

{{.Language}}

{{- if .URL}}
{{cp $.Copy "apps.live" $.Preview}}
{{.URL}}
{{end}} {{- if .Source}}
{{cp $.Copy "apps.source" $.Preview}}
{{.Source}}
{{end}} {{- if opt $.Copy (printf "stack.%s" .Slug)}}
{{cp $.Copy "apps.stack" $.Preview}}
{{cp $.Copy (printf "stack.%s" .Slug) $.Preview}}
{{end}} {{- if .Readability.Notes}}
{{cp $.Copy "apps.readability" $.Preview}}
{{.Readability.Notes}}
{{end}} {{- if .ReviewFindings}}
{{cp $.Copy "apps.unfixed" $.Preview}}
    {{range .ReviewFindings}}
  • {{.}}
  • {{end}}
{{end}} {{- if opt $.Copy (printf "note.%s" .Slug)}}
{{cp $.Copy "apps.note" $.Preview}}
{{cp $.Copy (printf "note.%s" .Slug) $.Preview}}
{{end}}
{{end}}

{{cp $.Copy "method.heading" $.Preview}}

{{md .Copy "method.body"}}

{{cp $.Copy "caveats.heading" $.Preview}}

{{md .Copy "caveats.body"}}