componentize the postGrid part of the template