1# A repo's page puts its content in panels with head strips: the files2# under the last commit (its author, subject, short sha and age), and the3# README under its file name. The chrome (tabs) stays on the page.4. "$(dirname "$0")/../lib.sh"5user dami6repo dami/greet7clone dami dami/greet "$T/w/g"8printf '# greet\n\nSay hello.\n' >"$T/w/g/README.md"9at "$T/w/g" commit "Say hello, politely" README.md10push_as dami "$T/w/g" origin main11export FORGE_STRICT=112build dami/greet13p=$FORGE_WWW/dami/greet/index.html14sha=$(git -C "$T/w/g" rev-parse HEAD)15has "$p" '<section class="panel files-panel"><header class="panel-head">'16has "$p" '<span class="grow"><b>dami</b> <a class="key" href="/dami/greet/commit/'"$sha"'/">Say hello, politely</a></span>'17has "$p" '<span class="end"><a class="sha" href="/dami/greet/commit/'"$sha"'/">'"$(printf %.7s "$sha")"'</a>.*<time '18has "$p" '<td class="file-icon"><svg class="icon"'19has "$p" '<section class="panel readme"><header class="panel-head"><a class="key mono" href="/dami/greet/blob/main/README.md/">README.md</a></header>'20# The tabs are chrome: in the header, not in a panel.21lacks "$p" '<section class="panel[^"]*"><header class="panel-head"><nav class="tabs'