old-silvrgit/lib/jade/today.jade
2016-02-11 11:40:10 +00:00

28 lines
726 B
Plaintext

doctype html
html(lang="en")
head
title= Today
body
h1 Today
#container.weather
h2 Weather
p Currently:
= ' ' + data.weather.currently
p Later:
= ' ' + data.weather.today
if data.weather.alerts.length > 0
h3 ALERT
each alert in data.weather.alerts
p(style="color:red;")= alert.title
p= alert.description
#container.weather
if data.trains.data.length > 0
h2 Trains
each alert in data.trains.data
strong= alert.title
p= alert.description