# Add a slash to the end of a directory listing, if required.
add.slash = function(path) {
if(substring(path, nchar(path), nchar(path)) != "/") {
path = paste(path, "/", sep = "")
} # if(substring(path, nchar(path), nchar(path)) != "/"))
return(path)
} # add.slash()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.