label: adjust forecolor boundary
This commit is contained in:
parent
ce1e4348da
commit
13c106af77
2 changed files with 1 additions and 8 deletions
|
@ -73,13 +73,6 @@ func NewFuncMap() []template.FuncMap {
|
|||
return t.Format("Jan 02, 2006")
|
||||
},
|
||||
"List": List,
|
||||
"Mail2Domain": func(mail string) string {
|
||||
if !strings.Contains(mail, "@") {
|
||||
return "try.gogs.io"
|
||||
}
|
||||
|
||||
return strings.SplitN(mail, "@", 2)[1]
|
||||
},
|
||||
"SubStr": func(str string, start, length int) string {
|
||||
if len(str) == 0 {
|
||||
return ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue