Let page owners turn logo.dev logos on and off

Link pages get a "Website logos" switch on the appearance tab
(stored as pages.show_logos, default on). When off, buttons show
the letter placeholder and the logo.dev credit is hidden. The switch
is disabled with a hint when the server has no LOGO_DEV_TOKEN, which
/me now reports as `logoDev`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-14 16:31:56 +02:00
co-authored by Claude Opus 5.5
parent 624517e010
commit 55d2b9433f
15 changed files with 712 additions and 15 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ Copy `.env.template` to `.env` and fill it in:
| `TIMEZONE` | | Timezone for "today" and the daily stats, default `UTC` |
| `TRUST_PROXY` | | `true` behind a reverse proxy, so `X-Forwarded-For` is used for the visitor IP |
| `DATA_DIR` | | Database and uploads, default `./data` (`/data` in Docker) |
| `LOGO_DEV_TOKEN` | | Shows website logos on link page buttons via [logo.dev](https://logo.dev) (adds an attribution) |
| `LOGO_DEV_TOKEN` | | Enables website logos on link page buttons via [logo.dev](https://logo.dev). Page owners can turn them off per page; the logo.dev credit only shows where logos are on |
| `DISABLE_ATTRIBUTION` | | `true` hides the "powered by" footer |
### 3. Run