added feature license in footer

This commit is contained in:
Stephan Hadan 2025-04-21 15:53:01 +02:00
parent 780ad7617b
commit d2e2e6bb89
Signed by: stephan.hadan
GPG key ID: B2F9DCEB3DA700D5
3 changed files with 18 additions and 2 deletions

View file

@ -173,6 +173,10 @@ If you want to enable a dark appearance, there is limited support for that. Curr
| `[params]`- `statuspageenabled` | `true` or `false` | No. If true an all parameters are set a link to your status page is shown in the page_footer. |
| `[params]`- `statuspage` | `Your Statuspage-URL`| No. i.e. `https://status.example.com`. |
| `[params]`- `statuspagename` | `Name your Statuspage` | No. Set a specific name for your statuspage in de page_footer. |
| `[params]`- `showlicense` | `true` or `false` | No. Show license in footer. |
| `[params]`- `license` | `Name your license` | No. i.e. `CC BY NC SA 4.0` |
| `[params]`- `licensepage` | `Your license-url` | No. i.e. `https://example.com/license` |
| `[params]`- `tdmurl` | `Your AI/ML-Opt-Out-URL` | No. i.e. `https://example.com/imprint/` |
Here is an example `hugo.toml`:
@ -202,7 +206,11 @@ SectionPagesMenu = "main"
umamiid = "xxxxxxxxxxxxxxxxxxx-yyyyyyyyyy-zzzzzzzzzzzzz"
statuspageenabled = true
statuspage = "https://status.example.com/status/preview-demo"
statuspagename = "Statusseite"
statuspagename = "Statusseite"
showlicense = true
licensepage = "https://example.com/license/"
tdmurl = "https://example.com/imprint/"
license= "CC BY NC SA 4.0"
[taxonomies]
tag = "tags"