diff options
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html index 7e74c07..5820cf4 100644 --- a/templates/index.html +++ b/templates/index.html @@ -10,9 +10,13 @@ <p class="shelf-hero-text">{{ shelf_meta.empty_text }}</p> </div> <div class="shelf-hero-meta"> - <div class="shelf-stat"> - <span class="summary-label">Entries</span> - <strong>{{ total_films or 0 }}</strong> + <div class="shelf-hero-stats"> + {% for stat in shelf_snapshot %} + <div class="shelf-stat"> + <span class="summary-label">{{ stat.label }}</span> + <strong>{{ stat.value }}</strong> + </div> + {% endfor %} </div> {% if active_shelf == 'queue' %} <a class="button-link" href="/queue/random">Surprise me</a> |
