change reference to content and use template file