R Markdown files for govuk-hugo do not need an output format specified. Remember that you should not knit these files directly, instead use build_govuk_hugo() to process these files and incorporate them with the govuk-hugo theme.

knitr::opts_chunk$set(echo = FALSE)

Set the section in the YAML header to the sub-directory of the main content folder that you would like the processed page to exist in.

A default weight of 100 is set, change this to alter how pages are sorted in the navigation bar.

It is recommended to provide a summary in the YAML header to make page lists easily readable.



co-analysis/govuk-hugo-r documentation built on June 23, 2022, 5:44 a.m.