diff --git a/R/create_post.R b/R/create_post.R index ddb77bd..0025052 100644 --- a/R/create_post.R +++ b/R/create_post.R @@ -87,6 +87,8 @@ create_post <- function(title, date = NULL) { yaml <- c(yaml, paste0("date: \"", date, "\"")) yaml <- c(yaml, paste0("categories: [tag1, tag2]")) yaml <- c(yaml, paste0("image: \"\"")) + yaml <- c(yaml, paste0("toc: true")) + yaml <- c(yaml, paste0("draft: true")) yaml <- c(yaml, "---") yaml <- c(yaml, "") yaml <- c(yaml, "Post content...")