Remove useless query from the homepage

Not really that important, but this page does get hit alot and the
query was not used at all.

Also removed template code that was outside a block tag, so wasn't
getting used either.