diff --git a/js/githubresume.js b/js/githubresume.js index 04ea3de..c59d2ba 100644 --- a/js/githubresume.js +++ b/js/githubresume.js @@ -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 }; diff --git a/views/resume.html b/views/resume.html index f5dc630..8634e91 100644 --- a/views/resume.html +++ b/views/resume.html @@ -35,7 +35,7 @@ {{#location}} based in {{location}} {{/location}} - with {{repos}} public {{plural}}. + with {{repos}} public {{reposLabel}}{{#followers}} and {{followers}} {{followersLabel}}{{/followers}}. I've been using github.com since {{since}}{{#blog}} and sometimes I blog at {{blog}}{{/blog}}.