restructured templates directory