split templates into content types