code: def template(self, template_filename, **kwargs):
          
          template = renderer.get_template(template_filename)
          kwargs["gns3_version"] = __version__
          kwargs["gns3_host"] = self._request.host
          self.html(template.render(**kwargs))
docs: Render a template
  
          :params template: Template name
          :params kwargs: Template parameters