has_token <- function() {
user_files <- list.files(config_dir())
return(
length(user_files) && "token.dcf" %in% user_files
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.