Fix building templates in subfolders.
Add templates in subfolders.