{{/* The opening of every page: a full-bleed dark band. On the left, an optional note (the eyebrow), the statement (title), the dek (subhead) and the actions (ctas); on the right, when `log:` is set, an activity log typed out line by line. `compact: true` makes it shorter; `logImage` sets a photo behind the whole band (`logCaption` credits it). */}} {{ $s := . }} {{ $visual := $s.log }}
{{ with $s.logImage }}{{ end }}
{{ with $s.eyebrow }}

{{ . }}

{{ end }}

{{ $s.title | markdownify }}

{{ with $s.subhead }}

{{ . | markdownify }}

{{ end }} {{ if $s.ctas }}
{{ partial "sections/ctas.html" $s.ctas }}
{{ end }}
{{ with $s.log }} {{/* An agent's activity log, typed out line by line (see the script below). Lines take `tag` + `text`; `think: true` marks a reasoning step (greyed, with a pause); `done: true` closes the run. The window keeps a fixed height and scrolls as lines arrive. `logCaption` credits the photo. */}}
{{ $s.logTitle | default "activity" }} Live
    {{ range . }}
  1. {{ .tag | default (cond .done "Done" (cond (.think | default false) "Thinking" "")) }} {{ .text }}
  2. {{ end }}
{{ end }}
{{ with $s.logCaption }}

{{ . }}

{{ end }}