diff --git a/src/layouts/index.html b/src/layouts/index.html index 4ae62d1..e99fa42 100644 --- a/src/layouts/index.html +++ b/src/layouts/index.html @@ -738,11 +738,13 @@ var contributorsList = $("#contributors-list"); - $.getJSON("https://api.github.com/repos/teaxyz/cli/contributors", function(cliContributors) { - $.getJSON("https://api.github.com/repos/teaxyz/pantry.extra/contributors", function(extraContributors) { - var allContributors = cliContributors.concat(extraContributors); - var uniqueContributors = {}; - $.each(allContributors, function(i, contributor) { + var repos = ["cli", "pantry.extra", "pantry.zero", "white-paper", "setup", "brewkit", "www", "kettle", "demos"]; + + var uniqueContributors = {}; + + $.each(repos, function(i, repo) { + $.getJSON("https://api.github.com/repos/teaxyz/" + repo + "/contributors", function(contributors) { + $.each(contributors, function(j, contributor) { if (!(contributor.id in uniqueContributors)) { uniqueContributors[contributor.id] = true; contributorsList.append("
" + "" + "

" + contributor.login + "

" + "
");