Add HomeLink and AvatarLink to User model. Please use .SignedUser in template.
This commit is contained in:
parent
e251b9bbca
commit
06deed820d
9 changed files with 147 additions and 24 deletions
1
web.go
1
web.go
|
@ -45,6 +45,7 @@ var AppHelpers template.FuncMap = map[string]interface{}{
|
|||
"Subtract": base.Subtract,
|
||||
"ActionIcon": base.ActionIcon,
|
||||
"ActionDesc": base.ActionDesc,
|
||||
"DateFormat": base.DateFormat,
|
||||
}
|
||||
|
||||
func runWeb(*cli.Context) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue