Skip to content

Commit

Permalink
Merge pull request #18 from FRBCesab/improve-yaml-for-default-post
Browse files Browse the repository at this point in the history
Add new params in post yaml
  • Loading branch information
ahasverus authored Apr 26, 2024
2 parents f1fa74e + de624df commit a985209
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/create_post.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ create_post <- function(title, date = NULL) {
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, paste0("draft: false"))
yaml <- c(yaml, paste0("code-overflow: scroll"))
yaml <- c(yaml, "---")
yaml <- c(yaml, "")
yaml <- c(yaml, "Post content...")
Expand Down

0 comments on commit a985209

Please sign in to comment.