1
0
Fork 0
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:
Frédéric Guillot 2025-06-08 15:21:59 -07:00
parent f9dce3d10f
commit a8bb7a48d7
23 changed files with 471 additions and 339 deletions

View file

@ -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 ""
},