Adds grid system to template code.