move content into templates