install the remotes package, install.packages("remotes)
install the hugodown package, remotes::install_github("r-lib/hugodown")
hugodown::create_site_academic()
. Be happy to see everything happening automatically ✨
hugodown::hugo_start(render_to_disk = TRUE)
, open localhost in the browser.
Change site title and theme in config/_default/params.toml. Yes a theme for a theme!
Mention academic docs, all the things one can change.
hugodown::use_post("post/new-rmd-post")
, knit, see post.
say there will probably be other themes later. show Hugo theme gallery and how I would choose themes.
usethis::use_github()
, hugodown::use_netlify_toml()
, go to Netlify interface.
add URL to config