AI/KI disclosure footer for all sites #2
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ziel
Jede Onepager-Site soll einen dezenten KI-Hinweis im Footer haben.
Ansatz
Same pattern wie impressum.js — selbstinjizierendes Script mit data-Attributen:
Tones
site.yaml
Abhängigkeit
Checkpoint: AI/KI disclosure footer — shift-1
Branch:
mai/knuth/ai-ki-disclosure-footerCommit:
84b28d6Status: Implementation complete, build passes
What was done
shared/ai-disclosure.js— self-injecting script (same pattern as impressum.js)data-toneattribute:playful|serious|minimal|nonedocument.documentElement.langfor KI (de) vs AI (en)msbls.de/kiAll 54 custom sites — injected disclosure script with
data-tone="playful"before i18n.jsTemplate infra (forward-looking, all sites are currently custom):
templates/base.html— includes disclosure script with{{disclosure_tone}}placeholderrender.sh— readsdisclosure.tonefrom site.yaml (defaults tominimal)site.yaml schema —
disclosure.toneadded to 3 example sitesSkipped
dasbes.de,dumusst.com— no index.html (dynamic sites)Ready for