diff --git a/public/_includes/_head-include.jade b/public/_includes/_head-include.jade index 1be46c5a4a..bc6fc32ccc 100644 --- a/public/_includes/_head-include.jade +++ b/public/_includes/_head-include.jade @@ -1,4 +1,19 @@ -title #{title} | +language = current.path[1] +version = '' + +if current.path[2] + version = current.path[2].replace(/\_+/gm, ".") + +if language == 'js' +if language == 'dart' + +if title == "Angular" + title #{title} +else if language + title #{title} - #{language} +else + title #{title} - Angular + meta(charset="utf-8") meta(http-equiv="X-UA-Compatible" content="IE=edge") diff --git a/public/about/index.jade b/public/about/index.jade index 8ceda23044..b1e4e7eb89 100644 --- a/public/about/index.jade +++ b/public/about/index.jade @@ -20,7 +20,11 @@ img(src="#{person.picture}" class="md-card-image" alt="#{name}") md-card-content h3.text-headline #{person.name} - a(href="https://twitter.com/#{person.twitter}" class="bio-card-twitter") @#{person.twitter} - p(class="text-body" ng-click="showBio($event)") #{person.bio} - a(href="#{person.website}" class="button" md-button) Website \ No newline at end of file + if person.twitter + a(href="https://twitter.com/#{person.twitter}" class="bio-link") @#{person.twitter} + + if person.website + a(href="#{person.website}" class="bio-link") Website + + p(class="text-body" ng-click="showBio($event)") #{person.bio} diff --git a/public/resources/css/module/_bio-card.scss b/public/resources/css/module/_bio-card.scss index 7b24a73690..e7ce613eb9 100644 --- a/public/resources/css/module/_bio-card.scss +++ b/public/resources/css/module/_bio-card.scss @@ -4,15 +4,15 @@ overflow: hidden; h3 { - margin: 0; + margin: 0px 0px $unit 0px; white-space: nowrap; } - .bio-card-twitter { - margin-bottom: $unit * 2; - font-size: 16px; + .bio-link { + font-size: 14px; text-decoration: none; - display: block; + display: inline-block; + margin: 0px $unit ($unit * 2) 0px } img { @@ -25,5 +25,6 @@ cursor: pointer; font-size: 14px; line-height: 24px; + margin: 0; } } \ No newline at end of file