Site.staticUrl (subdir)
render the url of the static directory of this site

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