function render($templatePath = "", $metaVars = null) { if ($metaVars) { $result = craft()->seomatic->render($templatePath, $metaVars); } else { $result = craft()->seomatic->render($templatePath); } return rtrim($result); }