diff --git a/internal/handlers/web/templates/index.jade b/internal/handlers/web/templates/index.jade index 5792019..97a2351 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]. - let isDateNA = .Status.ServerStartDate == 'n/a' - if !isDateNA + unless isDateNA p #[span#radio-status On-air since #[time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate]] else p #[span#radio-status Radio is offline.]