1# The shelves (owner pages, /topics/) are panels, the repos rows inside2# them. The tabs over them name the shelf and count its repos, so a3# shelf's panel has no head strip saying it again.4. "$(dirname "$0")/../lib.sh"5user dami6for r in dami/chess dami/go dami/notes; do7 repo "$r"8 clone dami "$r" "$T/w/${r#*/}"9 at "$T/w/${r#*/}" commit "first"10 push_as dami "$T/w/${r#*/}" origin main11done12printf 'games\n' >"$FORGE_ROOT/dami/chess.git/category"13printf 'games\n' >"$FORGE_ROOT/dami/go.git/category"14export FORGE_STRICT=115build16i=$FORGE_WWW/topics/index.html17has "$i" '<section class="panel shelf" data-shelf="games" id="games"><ul class="rows cards'18has "$i" '<section class="panel shelf" data-shelf="other" id="other"><ul class="rows cards'19has "$i" '<a href="#games" data-shelf="games">games<span class="n">2</span></a>'20lacks "$i" 'class="panel-head"><h2>(games|other|all)</h2>'21has "$i" '<ul class="rows cards nav-cards">'22# The owner's page too.23has "$FORGE_WWW/dami/index.html" '<section class="panel shelf" data-shelf="games" id="games"><header class="panel-head day-head" hidden>'24lacks "$FORGE_WWW/dami/index.html" 'class="panel-head"><h2>(games|other|all)</h2>'