post_search: Generate a search table for blog posts

Description Usage Arguments Value See Also Examples

Description

post_search creates a searchable table of post information

Usage

1
2
post_search(blogdir = ".", linkdir = "/blog", tagBackground = "#3399F3",
  tagColor = "#FFFFFF")

Arguments

blogdir

path to the base directory of the blog

linkdir

relative path to the blog directory to use in post hyperlinks

tagBackground

background color to use for tags

tagColor

font color to use for tags

Value

A datatable containing post information

See Also

post_info

Examples

1
2
3
4
5
6
7
lapply(seq.Date(Sys.Date() - 4, Sys.Date(), 1),
       new_post,
       title = "Lorem Ipsum", 
       name = "lorem-ipsum")
tag_post(get_post_dirs()[3], c("hello", "world"))
tag_post(get_post_dirs()[1], c("don't", "panic"))
post_search()

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