joerglohrerde/scripts
Jörg Lohrer 47282f3c30 fix(deploy): __HTML_LANG__-substitution pro detail-HTML
Begleiter zu app.html-aenderung in bb9d350, die <html lang> auf
__HTML_LANG__ umgestellt hat. Deploy-skript leitet den lang-wert
pro <slug>/index.html aus snapshot/output/posts/<slug>.json ab
(grep nach "lang"-feld im JSON), faellt sonst auf 'de' zurueck.

Spec-§3.2: <html lang> aus snapshot.lang. Vorher hartcodiert
"de", was englische posts (z.B. bible-selfies) crawlern als
deutschsprachig auswies — google search console hat das als
lang-mismatch geflagt, screen reader sprechen englischen body
mit deutscher engine.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 09:25:59 +02:00
..
README.md spa: deploy-script und htaccess für svelte.joerg-lohrer.de 2026-04-15 15:59:46 +02:00
deploy-svelte.sh fix(deploy): __HTML_LANG__-substitution pro detail-HTML 2026-04-28 09:25:59 +02:00

README.md

Scripts

  • deploy-svelte.sh — deployed den SvelteKit-Build aus app/build/ nach svelte.joerg-lohrer.de via FTPS. Benötigt .env.local im Repo-Root mit den Variablen SVELTE_FTP_HOST, SVELTE_FTP_USER, SVELTE_FTP_PASS, SVELTE_FTP_REMOTE_PATH. Aufruf:

    cd app && npm run build && cd .. && ./scripts/deploy-svelte.sh