The stats recomputation task populates the cache with zero values on startup, causing build_stat_cards() to return 6 cards even with an empty database. Gate the stats section on stats.is_empty() in addition to stat_cards.is_empty() so placeholders display correctly. |
||
|---|---|---|
| .. | ||
| pages | ||
| partials | ||
| base.html | ||