Correct usage of iterator to set up `$context['post']`