adding `template` variable to be applied as a class to the body element