js.plated_files.set_source
plated_files.set_source(dir)
Fill in _source and related chunks such as.
_sourcename the file that this set of chunks came from.
_filename the output filename.
_dirname the output dirname.
_root the root of the site, normally a relative path to the current directory, eg ../ since some things such as github pages need to exist in a directory rather than the root of a site. This should always be used in html paths, {_root} instead of / to make sure that you always get to the right place and can find your files.
_filename the url path of the filename, eg /dirname/filename
_dirname the url path of the dir this file exists in, eg /dirname