use global config to parse template variables in basePath strings
Merge pull request #11 from paulbdavis/template-parsing-basePath

use global config to parse template variables in basePath strings