WTF this Jade doesn't support comparing?
This commit is contained in:
parent
89c587e5ac
commit
092d07a3a6
@ -30,7 +30,8 @@ html(lang='en')
|
|||||||
audio(preload='none' controls='')
|
audio(preload='none' controls='')
|
||||||
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].
|
||||||
unless .Status.ServerStartDate = 'n/a'
|
- let isDateNA = .Status.ServerStartDate == 'n/a'
|
||||||
|
if !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.]
|
||||||
|
Loading…
Reference in New Issue
Block a user