1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

GET categories returns total_unread & feed_count

This commit is contained in:
kramanathan01 2023-06-19 09:50:08 -07:00 committed by Frédéric Guillot
parent b13c7e328a
commit fa3de272e8
4 changed files with 17 additions and 8 deletions

View file

@ -107,6 +107,7 @@ func (f *funcMap) Map() template.FuncMap {
"nonce": func() string {
return crypto.GenerateRandomStringHex(16)
},
"deRef": func(i *int) int { return *i },
// These functions are overrode at runtime after the parsing.
"elapsed": func(timezone string, t time.Time) string {