Always define $class in the homepage template

This fixes a `Notice: Undefined variable on line 130` and solves an issue where big blocks of green would incorrectly appear together.