create_website | R Documentation |
Create a basic skeleton for a Distill website or blog. Use the create_website()
function for a website and the create_blog()
function for a blog.
create_website(dir, title, gh_pages = FALSE, edit = interactive())
create_blog(dir, title, gh_pages = FALSE, edit = interactive())
dir |
Directory for website |
title |
Title of website |
gh_pages |
Configure the site for publishing using GitHub Pages |
edit |
Open site index file or welcome post in an editor. |
The dir
and title
parameters are required (they will be prompted for
interactively if they are not specified).
## Not run:
library(distill)
create_website("mysite", "My Site")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.