blogdown_template | R Documentation |
blogdown_template()
creates YAML based on your blogdown theme archetypes.
blogdown is based on Hugo, which supports many custom themes. Each theme uses
YAML in a different way. However, many come with archetypes that define the
YAML or TOML. To find out which types your theme has, use
blogdown_archetypes()
to see what's available. Use blogdown_template()
to
specify the archetype and it will convert the template to YAML that you can
use in your post.
blogdown_template(type, path = ".", theme = NULL) blogdown_archetypes(path = ".", theme = NULL)
type |
an archetype |
path |
the path to your blogdown site |
theme |
the theme to check for archetypes. By default,
|
a yml
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.