feat(dossiers-ngi): inject-editions-bar.sh for freeze HTML missing include
This commit is contained in:
parent
27c7f4e37e
commit
52e5c1d328
9 changed files with 218 additions and 46 deletions
|
|
@ -71,6 +71,23 @@ bash scripts/dossiers-ngi/smoke-branch-tree.sh
|
|||
# → SMOKE_OK (temp origin + smoke/temp-sibling deleted)
|
||||
```
|
||||
|
||||
## Edition freeze missing the bar (cookie trap)
|
||||
|
||||
`feat/website-views` freeze can omit `{% include "_cascade/bar.html" %}`.
|
||||
Cookie `tdpd_edition` then has no switcher. **No zypper / Caddy plugin.**
|
||||
Way back: `https://dossiers.ngi.hacktivism.ch/_cascade/use/flask`
|
||||
or `/_cascade/` (`index.html` switcher).
|
||||
|
||||
On koopa (hernani, no root):
|
||||
|
||||
```bash
|
||||
bash scripts/dossiers-ngi/inject-editions-bar.sh
|
||||
```
|
||||
|
||||
Hourly rebuild injects on skip **and** freeze-error (keep existing HTML + include).
|
||||
|
||||
The bar is `position: fixed` (not sticky); `100vw` overflow is avoided.
|
||||
|
||||
## Deploy landing (Freigabe)
|
||||
|
||||
Do **not** `--delete` the whole www root. Sync:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue