Skip to content

Commit

Permalink
feat: add new params in post yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ahasverus committed Apr 26, 2024
1 parent f1fa74e commit de624df
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 de624df

Please sign in to comment.