From e5c1247ebd03874f119bf54986375785705cfea1 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 8 Mar 2022 03:01:26 +0400 Subject: [PATCH] Maybe it will work. --- internal/handlers/web/templates/index.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/handlers/web/templates/index.jade b/internal/handlers/web/templates/index.jade index cc9819b..c9efe66 100644 --- a/internal/handlers/web/templates/index.jade +++ b/internal/handlers/web/templates/index.jade @@ -30,7 +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]. - if (.Status.ServerStartDate !== 'n/a') + unless .Status.ServerStartDate == 'n/a' p #[span#radio-status On-air since #[time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate]] else p #[span#radio-status Radio is offline.]