R/blogdownplus.R
gs_newpost.Rd
create content/<section>/.md files automatically if a new figure or video in static/<section>/ is found. Only for the chipsenkbeil/grid-side theme
gs_newpost(sec, overwrite = FALSE)
sec | the section name |
---|---|
overwrite | logical. whether overwrite the existing posts. |
new posts
sections <- gsub("static/", "", dir("static/")) sections <- sections[!sections %in% c("cover")] lapply(sections, gs_newpost)#> list()