Add a page module
Add a component module
1 2 3 4 5 6 | sb_add_page(module, text = module,
dir_pages = getOption("SB_DIR_PAGES", "pages"), add_to_yaml = FALSE,
...)
sb_add_component(module, dir_pages = getOption("SB_DIR_COMPONENTS",
"components"), ...)
|
module |
name of the module |
text |
text to add to _site.yml |
dir_pages |
directory to save the module to |
add_to_yaml |
logical indicating if module should be added to _site.yml |
... |
additional parameters to add to _site.yml |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.