create_website {condensr} | R Documentation |
Create the templates for a condensr website
Description
Creates the necessary directories, high level files and structures for a condensr website.
Usage
create_website(dir, title)
Arguments
dir |
Target directory for the website. |
title |
Title of the website. |
Details
Under the hood, this function is creating a distill website (using
distill:::do_create_website
), and then overwriting some files with
condensr
specifics. These specific files are:
_site.yml - for site specific configurations
index.qmd - the home page of the website
staff_list.R - an example setup the
condensr
staff, project and publication listsstaff/index.qmd - the template page that will list staff members
staff/joe-bloggs/index.qmd - an example page for the hypothetical staff member
Value
No return value, called to create the skeleton structure of the website.
Examples
create_website(dir = tempdir(), "test_site")
[Package condensr version 1.0.0 Index]