From 050fc189498ddbb8600c38a1c202ed0d94bbed5e Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 8 Mar 2022 03:22:32 +0400 Subject: [PATCH] Let's try without this code at all. --- internal/handlers/web/templates/index.jade | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/internal/handlers/web/templates/index.jade b/internal/handlers/web/templates/index.jade index 9b60209..aae883c 100644 --- a/internal/handlers/web/templates/index.jade +++ b/internal/handlers/web/templates/index.jade @@ -30,11 +30,7 @@ html(lang='en') audio(preload='none' controls='') source(src='/live/stream.ogg' type='audio/ogg') | Your browser doesn't support an audio element, it's sad... But you always can take the #[a(href='/playlist') playlist]. - - var isDateNA = .Status.ServerStartDate == 'n/a' - unless false - p #[span#radio-status On-air since #[time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate]] - else - p #[span#radio-status Radio is offline.] + p Now playing: #[span#radio-song= .Status.SongName] p Current/peak listeners: #[span#radio-listeners= .Status.Listeners] / #[span#radio-listener-peak= .Status.ListenerPeak] p