And a take on the documentation

This commit is contained in:
poolitzer 2026-01-01 23:59:56 +01:00
parent 0865ba012b
commit ddb06f36de

View file

@ -416,6 +416,7 @@ invertible_image = false
- `weight` determines the order in which the projects are shown. The lower the weight, the higher the project will appear. - `weight` determines the order in which the projects are shown. The lower the weight, the higher the project will appear.
- `local_image` is the path to the image of the project. This image is shown on the projects page. - `local_image` is the path to the image of the project. This image is shown on the projects page.
- `local_image_dark` is an optional path to an alternative image to be shown in dark mode. When set, `local_image` is shown in light mode only. - `local_image_dark` is an optional path to an alternative image to be shown in dark mode. When set, `local_image` is shown in light mode only.
- `remote_image` and `remote_image_dark` is an alternative which you can use when you want to set an URL instead.
- `invertible_image` inverts the image colours in dark mode. Useful for black and white logos/icons. - `invertible_image` inverts the image colours in dark mode. Useful for black and white logos/icons.
When a user clicks on the image or title of a project, they will be taken to the project's page. If you'd rather have users go to an external link, you can set `link_to = "https://example.com` in the `[extra]` section of the project's `.md` file. When a user clicks on the image or title of a project, they will be taken to the project's page. If you'd rather have users go to an external link, you can set `link_to = "https://example.com` in the `[extra]` section of the project's `.md` file.