From 72885b0ccf9c2fa094f7bf33d90056ec7cffbd30 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 8 Mar 2022 02:51:53 +0400 Subject: [PATCH] WTF does mean unexpected ! operand? Puto... --- 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 a4acaf6..cc9819b 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' + if (.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.]