Broke content templates for loop into small parts.