mirror of
https://github.com/resume/resume.github.com.git
synced 2025-12-30 15:49:30 -06:00
Display number of followers (issue #9)
This commit is contained in:
@@ -85,7 +85,9 @@ var run = function() {
|
||||
location: data.user.location,
|
||||
gravatar_id: data.user.gravatar_id,
|
||||
repos: data.user.public_repo_count,
|
||||
plural: data.user.public_repo_count > 1 ? 'repositories' : 'repository',
|
||||
reposLabel: data.user.public_repo_count > 1 ? 'repositories' : 'repository',
|
||||
followers: data.user.followers_count,
|
||||
followersLabel: data.user.followers_count > 1 ? 'followers' : 'follower',
|
||||
username: username,
|
||||
since: since
|
||||
};
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
{{#location}}
|
||||
based in {{location}}
|
||||
{{/location}}
|
||||
with <a href="https://github.com/{{{username}}}">{{repos}} public {{plural}}</a>.
|
||||
with <a href="https://github.com/{{{username}}}">{{repos}} public {{reposLabel}}</a>{{#followers}} and {{followers}} {{followersLabel}}{{/followers}}.
|
||||
I've been using github.com since {{since}}{{#blog}} and sometimes I blog at <a href="{{blog}}" id="myblog" title="my blog">{{blog}}</a>{{/blog}}.
|
||||
</p>
|
||||
<p id="languages" class="enlarge"></p>
|
||||
|
||||
Reference in New Issue
Block a user