//左侧菜单 func (c Content) Left(article *models.Article) revel.Result { title := "左侧菜单--GoCMS管理系统" category := new(models.Category) categorys := category.GetLeftTree() c.Render(title, categorys) return c.RenderTemplate("Content/Left.html") }