ANALYTICS="$ANALYTICS" python3 -c 'import os,sys; h=open("index.html").read(); assert h.count("")==1; sys.stdout.write(h.replace("", os.environ["ANALYTICS"]+""))' > "$PUBLISHED"

Optional experiments

Shipwreck Explorer: RMS Titanic

Explore the wreck in your browser, modelled from public domain sources. Needs Chrome or Edge on a computer.

optional.org.uk