moved templates to dist/layout