From 6782ed312daabbd751ad59fc5a3d7e5d7cc9b384 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Thu, 11 Sep 2025 09:33:34 -0400 Subject: [PATCH] [templates] Add food to homepage --- vrobbler/templates/scrobbles/_last_scrobbles.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/vrobbler/templates/scrobbles/_last_scrobbles.html b/vrobbler/templates/scrobbles/_last_scrobbles.html index 1af4f51..d452c92 100644 --- a/vrobbler/templates/scrobbles/_last_scrobbles.html +++ b/vrobbler/templates/scrobbles/_last_scrobbles.html @@ -13,8 +13,18 @@ {% include "scrobbles/_scrobble_table.html" %} {% endwith %} {% else %} - No tracks today +

No tracks today

{% endif %} + +

Food

+ {% if Food %} + {% with scrobbles=Food count=Food_count time=Food_time %} + {% include "scrobbles/_scrobble_table.html" %} + {% endwith %} + {% else %} +

No food today

+ {% endif %} +