labnb_serve <- function(serve=T) {
servr::jekyll(input = c(list.dirs("_source")),
output = c(rep("_posts", length(list.dirs("_source")))),
serve = serve)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.