Commit 4a20c5d
authored
Update Counters (#304)
This pull request updates the statistics shown on the homepage to
provide more accurate and dynamic counts for expansions and expert
authors.
**Homepage statistics improvements:**
* Changed the expansions count to display only the number of sections of
type `"guide"` instead of all site sections, making the statistic more
relevant.
* Updated the expert authors count to dynamically calculate the number
of unique contributors based on their GitHub usernames or names, instead
of displaying a hardcoded value.
<!-- Reviewable:start -->
- - -
This change is [<img src="https://reviewable.io/review_button.svg"
height="34" align="absmiddle"
alt="Reviewable"/>](https://reviewable.io/reviews/ScrumGuides/ScrumGuide-ExpansionPack/304)
<!-- Reviewable:end -->1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
44 | 53 | | |
45 | 54 | | |
46 | 55 | | |
| |||
0 commit comments