bgtemplate provides a custom pkgdown template for BlueGreen Labs packages. Please don’t use it for your own package. This theme was inspired by inspired by tidytemplate and rotemplate.
template <- list(package = "bgtemplate")
pkgdown::build_site(devel = FALSE, override = list(template = template))
Everything else can be configured as usual via the _pkgdown.yml
file
as described in the pkgdown documentation.
Alternatively, set the template in _pkgdown.yml.
template:
package: bgtemplate
if you want to use Mathjax you’ll need to specify it in the pkgdown
config file like so:
template:
params:
mathjax: true