From 07ac2567dab0041ced22fde8fafbd4c7ae90da0e Mon Sep 17 00:00:00 2001 From: wuhei Date: Fri, 20 Nov 2026 15:49:14 +0100 Subject: prepare for publication: MIT licence, no bundled third-party photo, tighter ignores - the intro picture was press photography from a news site; it is no longer tracked (web/intro.jpg is gitignored) and scripts/fetch-intro.sh installs your own. The page drops the if it 404s, so a fresh clone is just the red field and the title. - .gitignore now covers recorder output (mp4/mkv/webm/mov/m4v), the media files that land in the working directory during a talk (*.png/*.jpg/*.wav/*.mp3), models and session logs, so 'git add -A' cannot sweep them into a commit. - LICENSE: MIT for the code. --- web/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'web/index.html') diff --git a/web/index.html b/web/index.html index e02159c..d176c2a 100644 --- a/web/index.html +++ b/web/index.html @@ -103,7 +103,7 @@
- +

批斗大会

STRUGGLE SESSION

⏎ Press enter to start
@@ -241,7 +241,8 @@ function showIntro(cfg) { document.getElementById('intro-zh').textContent = cfg.introZH || ''; document.getElementById('intro-en').textContent = cfg.introEN || ''; - const img = document.getElementById('intro-img'); + const img = document.getElementById('intro-img'); // may already be gone (no picture) + if (!img) return; if (cfg.introImg) img.src = cfg.introImg; else img.remove(); introEl.hidden = false; introVisible = true; -- cgit v1.2.3