Skip to content

Commit

Permalink
Support custom flags for the hugo command via hugo_build()
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefhajnala committed May 10, 2019
1 parent 91e6af2 commit db3c0da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/hugo.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ hugo_build = function(local = FALSE) {
if (local) tweak_hugo_env()
hugo_cmd(c(
if (local) c('-b', site_base_dir(), '-D', '-F'),
getOption('blogdown.hugo.args'),
'-d', shQuote(publish_dir(config)), theme_flag(config)
))
}
Expand Down

0 comments on commit db3c0da

Please sign in to comment.