Added public root path as a tenplate variable.
Updated documentation.