covid19/tmpl/state.pug
2020-04-28 18:04:17 -07:00

18 lines
405 B
Plaintext

extends ./master.pug
block main
h2.d-flex.justify-content-between
span= data.name + ' - ' + data.country
a.align-self-center(href=("/countries/" + data.countrySafeName + ".html") style="font-size: 50%")
| ◀ #{data.country}
+heroChart
mixin renderItemName(item)
if item.name
= item.name
else
em.text-muted Other #{item.state}
+dataTable(data.counties, 'County/Region', 'county')