diff --git a/public/_includes/_hero.jade b/public/_includes/_hero.jade index 1bbdfdcc4a..308f02df21 100644 --- a/public/_includes/_hero.jade +++ b/public/_includes/_hero.jade @@ -1,11 +1,11 @@ - var textFormat = '' +- var headerTitle = title + (typeof varType !== 'undefined' ? (': ' + varType) : ''); if current.path[4] && current.path[3] == 'api' - var textFormat = 'is-standard-case' - header(class="hero background-sky") - h1(class="hero-title text-display-1 #{textFormat}") #{title} + h1(class="hero-title text-display-1 #{textFormat}") #{headerTitle} if subtitle h2.hero-subtitle.text-subhead #{subtitle}