title update

This commit is contained in:
Alex Wolfe 2015-03-04 22:38:45 -08:00
parent 1f978a7927
commit 4a43751bba
3 changed files with 29 additions and 9 deletions

View File

@ -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(charset="utf-8")
meta(http-equiv="X-UA-Compatible" content="IE=edge") meta(http-equiv="X-UA-Compatible" content="IE=edge")

View File

@ -20,7 +20,11 @@
img(src="#{person.picture}" class="md-card-image" alt="#{name}") img(src="#{person.picture}" class="md-card-image" alt="#{name}")
md-card-content md-card-content
h3.text-headline #{person.name} 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 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}

View File

@ -4,15 +4,15 @@
overflow: hidden; overflow: hidden;
h3 { h3 {
margin: 0; margin: 0px 0px $unit 0px;
white-space: nowrap; white-space: nowrap;
} }
.bio-card-twitter { .bio-link {
margin-bottom: $unit * 2; font-size: 14px;
font-size: 16px;
text-decoration: none; text-decoration: none;
display: block; display: inline-block;
margin: 0px $unit ($unit * 2) 0px
} }
img { img {
@ -25,5 +25,6 @@
cursor: pointer; cursor: pointer;
font-size: 14px; font-size: 14px;
line-height: 24px; line-height: 24px;
margin: 0;
} }
} }