Add page and template classes to body tag