create_staff_member_page {condensr}R Documentation

Create a quarto file for a specific staff member

Description

Creates a quarto file for a given input staff member.

Usage

create_staff_member_page(staff_member, site_dir, staff_folder = "staff")

Arguments

staff_member

An object of class staff_member that will be used to generate the template.

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 index.qmd to facilitate pretty link formatting in-browser.

Value

No return value, called to create a qmd file for the staff member.

Examples

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())


[Package condensr version 1.0.0 Index]