angular-cn/public/_includes/_hero.jade

16 lines
363 B
Plaintext
Raw Normal View History

2015-05-01 09:04:23 -04:00
textFormat = ''
if current.path[4] && current.path[3] == 'api'
textFormat = 'is-standard-case'
2015-02-26 09:45:32 -05:00
header(class="hero background-sky")
2015-05-01 09:04:23 -04:00
h1(class="hero-title text-display-1 #{textFormat}") #{title}
2015-03-01 09:42:31 -05:00
if subtitle
h2.hero-subtitle.text-subhead #{subtitle}
else if current.path[0] == "docs"
!= partial("_version-dropdown")
2015-02-26 09:45:32 -05:00
!= partial("_social-icons")