angular-cn/public/_includes/_hero.jade

14 lines
435 B
Plaintext
Raw Normal View History

- var textFormat = ''
- var headerTitle = title + (typeof varType !== 'undefined' ? (': ' + varType) : '');
2015-05-01 09:04:23 -04:00
if current.path[4] && current.path[3] == 'api'
- var textFormat = 'is-standard-case'
2015-05-01 09:04:23 -04:00
2015-02-26 09:45:32 -05:00
header(class="hero background-sky")
h1(class="hero-title text-display-1 #{textFormat}") #{headerTitle}
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")