title update
This commit is contained in:
parent
1f978a7927
commit
4a43751bba
|
@ -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")
|
||||
|
|
|
@ -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
|
||||
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}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue