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)

Arguments

sec

the section name

overwrite

logical. whether overwrite the existing posts.

Value

new posts

Examples

sections <- gsub("static/", "", dir("static/")) sections <- sections[!sections %in% c("cover")] lapply(sections, gs_newpost)
#> list()