new_post: Create a new post

Description Usage Arguments Value See Also Examples

Description

new_post creates a new post

Usage

1
new_post(title, name, date = Sys.Date(), blogdir = ".", ...)

Arguments

title

the title of the post

name

the name of the post

date

the date of the post

blogdir

path to the base directory of the blog

...

ordered strings for substitution into shell.Rmd

Value

A new post is created in the posts directory using the title, date and name that were supplied.

See Also

tag_post, render_post, remove_post

Examples

1
new_post("Hello, world!", "hello-world")

dnegrey/blogr documentation built on May 15, 2019, 9:38 a.m.