Site.staticPath (subdir)
render the path to the static directory of this site

  • Parameter String:
    name of subdirectory (optional)
Sourcecode in Site/objectFunctions.js:
1:   function staticPath(subdir) {
2:      res.write(app.properties.staticPath);
3:      res.write(this.alias);
4:      res.write("/");
5:      if (subdir)
6:         res.write(subdir);
7:      return;
8:   }