source(file.path("R", "functions.R"))
# First build the footer to capture today's date
create_footer()
# Then render the site
rmarkdown::render_site(encoding = 'UTF-8')
# Then copy in the redirects file
fs::file_copy("_redirects", "_site/_redirects")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.