File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ notoc: true
2424
2525 <!-- Action Buttons -->
2626 <div class="mb-5">
27- <a class="btn btn-lg btn-primary me-3 mb-3" href="/ getting-started/">
27+ <a class="btn btn-lg btn-primary me-3 mb-3" href="{{< relref \" getting-started/\" >}} ">
2828 Get Started <i class="fas fa-arrow-alt-circle-right ms-2"></i>
2929 </a>
3030 <a class="btn btn-lg btn-outline-primary mb-3" href="https://github.com/dgunzy/flux9s">
@@ -42,6 +42,10 @@ notoc: true
4242 <h3 id="github-stars" class="mb-2">-</h3>
4343 <p class="text-muted mb-0">GitHub Stars</p>
4444 </div>
45+ <div class="col-md-3 col-sm-6 text-center stat-item mb-4">
46+ <h3 id="github-downloads" class="mb-2">-</h3>
47+ <p class="text-muted mb-0">GitHub Downloads</p>
48+ </div>
4549 <div class="col-md-3 col-sm-6 text-center stat-item mb-4">
4650 <h3 id="github-releases" class="mb-2">-</h3>
4751 <p class="text-muted mb-0">Releases</p>
Original file line number Diff line number Diff line change 2323 starsEl . textContent = formatNumber ( metadata . github_stars ) ;
2424 }
2525
26+ // Update GitHub binary downloads
27+ const downloadsEl = document . getElementById ( "github-downloads" ) ;
28+ if ( downloadsEl && metadata . github_binary_downloads ) {
29+ downloadsEl . textContent = formatNumber ( metadata . github_binary_downloads ) ;
30+ }
31+
2632 // Update GitHub releases
2733 const releasesEl = document . getElementById ( "github-releases" ) ;
2834 if ( releasesEl && metadata . github_releases ) {
3339 // Set default values on error
3440 document . getElementById ( "crates-downloads" ) . textContent = "-" ;
3541 document . getElementById ( "github-stars" ) . textContent = "-" ;
42+ document . getElementById ( "github-downloads" ) . textContent = "-" ;
3643 document . getElementById ( "github-releases" ) . textContent = "-" ;
3744 }
3845} ) ( ) ;
You can’t perform that action at this time.
0 commit comments