mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
feat(ui): avoid showing an excessive number of tags
This commit is contained in:
parent
f9dce3d10f
commit
a8bb7a48d7
23 changed files with 471 additions and 339 deletions
|
@ -100,8 +100,11 @@ func (f *funcMap) Map() template.FuncMap {
|
|||
"deRef": func(i *int) int { return *i },
|
||||
"duration": duration,
|
||||
"urlEncode": url.PathEscape,
|
||||
"subtract": func(a, b int) int {
|
||||
return a - b
|
||||
},
|
||||
|
||||
// These functions are overrode at runtime after the parsing.
|
||||
// These functions are overridden at runtime after parsing.
|
||||
"elapsed": func(timezone string, t time.Time) string {
|
||||
return ""
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue