Placed grid formatting into layout partials.