View source: R/create_staff_member_page.R
create_staff_member_page | R Documentation |
Creates a quarto file for a given input staff member.
create_staff_member_page(staff_member, site_dir, staff_folder = "staff")
staff_member |
An object of class |
site_dir |
Directory of the website. |
staff_folder |
Subfolder in which the staff qmd files are stored.
Default "staff". Note that each template will be |
No return value, called to create a qmd file for the staff member.
example_staff_member <- staff_member(
id = "example-id",
name = "Example Name",
description = "Example description for example staff member.",
external_link = "http://www.example.com/",
internal_link = FALSE
)
create_staff_member_page(example_staff_member, tempdir())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.