jamstackthemes
jamstackthemes copied to clipboard
Stars not getting updated
Many of my themes have more stars now but the site is still showing the old count. For example:
serial programmer
https://jamstackthemes.dev/theme/jekyll-theme-serial-programmer/
https://github.com/sharadcodes/jekyll-theme-serial-programmer
Deleting data/themes.json before running npm run deploy seems to fix this issue, at least locally.
Fresh data are fetched, including Github starts, but the rebuild takes a looong time
+1 on old information on the site
I'm running a fork[1] and found a way to update the stats:
- delete
data/themes.json - refresh the Github token
- define
X-GitHub-Api-Versioninscripts/build/github.js(see the following commit)
I don't know if all these steps are required, please report your test results and I'll do the same. Cheers
[1] See https://jamstack.club -- Source code: https://gitlab.com/Roneo/jamstack.club