spaCy/website/_includes/_header.jade
2016-04-01 01:24:48 +11:00

22 lines
520 B
Plaintext

include _mixins
//- Header
//- ============================================================================
header.header(class=(image) ? 'hero' : '')
if image
img(srcset=getScrset(image, 'img/') alt=image.alt sizes='100vw')
if image.credit
.hero-credit
if image.url
a(href=image.url target='_blank')=image.credit
else
!=image.credit
else
if !is_article && headline != false
h1.header-title=title