adjust styling and bump dates etc

This commit is contained in:
April John 2026-08-28 15:39:56 +02:00
commit a584a5252f
40 changed files with 678 additions and 294 deletions

View file

@ -30,21 +30,20 @@ This is the website of the CCCB.
Every change you make on the project will be reflected in your browser as long
as `hugo serve` is running.
The *"Nächste Veranstaltungen"* table on the home page is generated by
post-processing in `./build.sh`, not by Hugo, so it is **not** visible under
`hugo serve`. To preview the fully-built site (including the home-page
calendar), or to ready the site for upload, run:
The *"Nächste Veranstaltungen"* calendar on the home page is rendered by
Hugo via the `calendar` shortcode, which fetches `all.ics` client-side.
`all.ics` is generated from the individual event pages by `./tools/merge_cals.py`.
To preview the fully-built site (including `all.ics`), or to ready the site for
upload, run:
```shell
./build.sh
python3 -m http.server -d public 1313
```
`build.sh` generates `all.ics` and replaces the `CALENDAR` placeholder in
`index.html` with the upcoming-events table. It depends on Python with the
`icalendar`, `python-dateutil`, and `pytz` packages, plus a `de_DE.UTF-8`
locale (used to format weekday names). Inside `nix develop` these are
provided automatically.
`build.sh` runs `hugo`, generates `all.ics`, and copies it into `public/`.
It depends on Python with the `icalendar`, `python-dateutil`, and `pytz`
packages. Inside `nix develop` these are provided automatically.
To build with *nix*: `nix build '.?submodules=1#production-content'`