View source: R/add_missing_fields.R
add_missing_fields | R Documentation |
Internal function for update_fm()
. Adds missing list items to a list (list_obj), based on a template
add_missing_fields(list_obj, template, reorder = FALSE)
list_obj |
the list (for our purposes, probably your front-matter.yml after being read in) |
template |
the list template to compare to |
reorder |
do you want to reorder the resulting list, based on template order? default=F |
list_obj, with any missing fields added and reordered by template if requested
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.