Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid contributors count #104

Open
ardianta opened this issue Oct 26, 2024 · 1 comment
Open

Invalid contributors count #104

ardianta opened this issue Oct 26, 2024 · 1 comment

Comments

@ardianta
Copy link
Member

There are 50 contributors in this repo, but at homepage it shows only 30 contributors. The Github API URL response with 30 data. To get more data we need to add params page=2.

https://api.github.com/repos/gohugoid/gohugoid-web/contributors?page=2

Contributors count at home page
image

Contributors count at repository
image

@ardianta
Copy link
Member Author

Checkout the code used to fetch contributors at homepage: https://github.com/gohugoid/gohugoid-web/blob/master/themes/nusantara/layouts/index.html#L3-L4

ardianta added a commit to ardianta/gohugoid-web that referenced this issue Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant