From 1e392ba387e4ed62b1ddc184ca3aced6b075d875 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 8 Mar 2022 03:15:01 +0400 Subject: [PATCH] Why it doesn't just work... Oh... --- 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 1aa2b2a..2053446 100644 --- a/internal/handlers/web/templates/index.jade +++ b/internal/handlers/web/templates/index.jade @@ -31,7 +31,7 @@ html(lang='en') 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 isDateNA + unless (#{isDateNA}) p #[span#radio-status On-air since #[time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate]] else p #[span#radio-status Radio is offline.]