Build static html into specified directory. Useful for debugging and some deployment scenarios
hugo_build(
site = ".",
dest = NULL,
build_drafts = FALSE,
build_future = FALSE,
clean = FALSE,
base_url = NULL,
relative_urls = NULL
)
Path to hugo site.
Destination directory. If NULL
, the default, will build
in {site}/public
Should drafts and future posts be included in the built site?
Remove files in public/
that don't exist in the source.
<string>
Optionally override the baseURL
setting from
hugo config.
<bool>
Optionally the override the relativeURL
setting from hugo config.