| 123456789101112131415161718 |
- package user
- import (
- "gitote/gitote/pkg/context"
- "strings"
- )
- const (
- EMBED = "embed/user"
- )
- func Embed(c *context.Context) {
- ctxUser := GetUserByName(c, strings.TrimSuffix(c.Params(":username"), ""))
- c.Data["Owner"] = ctxUser
- c.HTML(200, EMBED)
- }
|