1# Unpinned, a page shows its owner's three most recently active public2# repos, newest first, as "recently active"; each with what it is, its3# latest release or its site, and when it last changed.4. "$(dirname "$0")/../lib.sh"5user ana6for r in one two three four; do7 repo "ana/$r" "the $r repo"8 clone ana "ana/$r" "$T/w/$r"9 tick 360010 at "$T/w/$r" commit "first"11 push_as ana "$T/w/$r" origin main12done13tick 360014at "$T/w/one" commit "again"15push_as ana "$T/w/one" origin main16export FORGE_STRICT=117build18p=$FORGE_WWW/ana/index.html19has "$p" '<section class="panel pins"><header class="panel-head"><h2>recently active</h2></header>'20eq "$(grep -o 'class="pin-name" href="/ana/[a-z]*/"' "$p" | sed 's|.*/ana/||; s|/"||' | tr '\n' ' ')" "one four three "21has "$p" '<p class="pin-desc">the one repo</p>'