From b155ddfa2c72d0580745100f5487353dcfbbdd38 Mon Sep 17 00:00:00 2001 From: Brian Ford Date: Wed, 19 Aug 2015 16:12:16 -0700 Subject: [PATCH] List type info for var and const exports --- public/_includes/_hero.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}