add theme_color to config and use it for embed metadata

resolves #1
This commit is contained in:
zyl 2024-11-13 11:23:09 -08:00
parent 1875cc9d5c
commit 847f0c7ee7
Signed by: zyl
SSH key fingerprint: SHA256:uxxbSXbdroP/OnKBGnEDk5q7EKB2razvstC/KmzdXXs
5 changed files with 16 additions and 8 deletions

View file

@ -19,6 +19,10 @@ the site's base title applied to all pages.
presently unused field, set this to any string you like.
## `theme_color`
the default theme color to use for embed metadata.
## `build`
the directory for the site to build to. defaults to `<site-path>/build` if not specified.

View file

@ -59,7 +59,7 @@ prefixing a url with `cdn$` will join it with the site's cdn url as defined in t
#### `theme_color`
the theme color to use for the embed. optional, but the default is currently nonconfigurable.
the theme color to use for the embed. optional, defaults to the value in your site's configuration.
#### `large_image`