Shared pkgdown template for the packages of the golemverse: palette, typography and components of golemverse.org, in one place.
Add the template to the _pkgdown.yml of your package:
template:
package: golemversetemplateand declare it in DESCRIPTION, so that the pkgdown GitHub Action installs it:
Config/Needs/website: ThinkR-open/golemversetemplate
Your _pkgdown.yml keeps what is specific to your package (url, navbar,
reference,...). Everything else is inherited.
Configuration is merged key by key, so a package can change one value and keep the rest of the theme:
template:
package: golemversetemplate
bslib:
primary: "#7176B8"remotes::install_github("ThinkR-open/golemversetemplate")