All of this happens in R
with the blogdown
package.
library(blogdown)
setwd("~/dropbox/academia/website/hugo-sustain")
options(servr.daemon = TRUE)
serve_site()
Three simple commands (after cd
-ing into the correct folder, which is the public
folder in the hugo-sustain
website folder)
git add .
git commit -m "blah"
git push origin master
Got a lot of help setting this up here: https://github.com/whipperstacker/blog/blob/master/content/post/deploying-a-hugo-site-to-github-pages.md
(Because this is something I should do a lot of!)
content/papers/
static/research/pdf/
public
folder because that is what gets generated by blogdown
research.md
file in the content
folder