gallery_site_config: Gallery site configuration

Description Usage Arguments Value

View source: R/config.R


Site configuration for the gallery_site() generator.


gallery_site_config(input = ".")



Website directory (or the name of a file within the directory).


The function returns the contents of _site.yml as an R list, with an additional element $gallery$meta, a list containing the metadata of the pages to be generated, as read from the .json, .yml and yaml files, where $gallery$type_field and gallery$type_template (if present) have been already used to lookup the actual template. In addition, default field values specified as gallery$defaults are also applied. The metadata in $gallery$meta also include an additional field page_name containing the names of the metadata list itself, serving as names for the HTML pages that will be generated.

riccardoporreca/rmdgallery documentation built on May 22, 2020, 3:06 p.m.