R/hugoify.R

Defines functions build_hugo_source

#TODO: handle output_dir and overwritting all the way down the chain

build_hugo_source <- function( config_file="hugoify.yml", output_dir="." ) {

  # parse the config file
  calls <- parse_hugoify_yaml(config_file, output_dir = output_dir)

  # evaluate the calls
  lapply(calls, eval)

  invisible(config_file)
}
KatherineCox/hugoify documentation built on April 5, 2022, 12:02 p.m.