Added fix to template.go to allow for having the layout file in subfolders