Description Usage Arguments Details
A function to set-up the file structure for a Jekyll blog post. Assumes that the current working directory is the root directory of the Jekyll site.
1 2 |
title |
The title of the blog post |
serve |
Should |
dir |
The directory the post (or subdirectory) should reside in |
subdir |
Should the post live in a subdirectory? Defaults to |
skeleton_file |
The filepath of a skeleton blog post which will be used as the basis for the basis for the newly created file |
new_post
will create a .R file, and a .Rmd file (by default
in a subdirectory), with names created by running title
through
filenamise
. The .R file will contain a short note mentioning
that it accompanies the .Rmd file, which will contain the same text as the
file supplied by skeleton_post
paramter. Both files will be opened
using sys_open
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.