Move templates to layout, may be a bad idea