change Template::getHtml to Template::get, so that Templates can be used as the "expression" of an attribute