1
0

Unexpected ! in if.

This commit is contained in:
Alexander Andreev 2022-03-08 03:05:54 +04:00
parent 092d07a3a6
commit c06eba7341
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

@ -31,7 +31,7 @@ html(lang='en')
source(src='/live/stream.ogg' type='audio/ogg') 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]. | 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' - let isDateNA = .Status.ServerStartDate == 'n/a'
if !isDateNA unless isDateNA
p #[span#radio-status On-air since #[time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate]] p #[span#radio-status On-air since #[time(datetime=.Status.ServerStartISO8601)= .Status.ServerStartDate]]
else else
p #[span#radio-status Radio is offline.] p #[span#radio-status Radio is offline.]