#' @export
ensure_posts <- function(blogdir = ".") {
posts <- paste(blogdir, "posts", sep = "/")
if (!dir.exists(posts)) {
dir.create(posts)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.