Build Hugo Front Matter

Description

Build Hugo Front Matter

Usage

build_hugo_front_matter(
  frontMatter,
  weight = NULL,
  title = NULL,
  keywords = NULL,
  draft = NULL,
  commented_note = NULL,
  ...
)

Arguments

  • frontMatter: RMarkdown front matter
  • weight: (Hugo)
  • title: (Hugo) By default the title is copied from the root of the RMarkdown front matter, but you can override it if you wish to use a different title in Hugo.
  • keywords: (Hugo) By default the keywords are copied from the root of the RMarkdown front matter, but you can override it if you wish to use different keywords in Hugo.
  • draft: (Hugo)
  • commented_note: a commented notice to add to beginning of the front matter
  • ...: extra variables added to the front matter if they are not specified in any other way.