mirror of
https://github.com/wilsonfreitas/awesome-quant.git
synced 2026-08-14 04:18:04 +00:00
Remove total stars count from site hero section
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
5a6f90cc85
commit
ed6105797e
@@ -277,7 +277,6 @@ def generate_html(entries: list[dict]) -> str:
|
|||||||
)
|
)
|
||||||
|
|
||||||
total = len(entries)
|
total = len(entries)
|
||||||
total_stars = sum(int(e.get("stars", 0) or 0) for e in entries)
|
|
||||||
|
|
||||||
return f"""<!DOCTYPE html>
|
return f"""<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
@@ -315,8 +314,6 @@ def generate_html(entries: list[dict]) -> str:
|
|||||||
<span class="stat"><strong>{total}</strong> projects</span>
|
<span class="stat"><strong>{total}</strong> projects</span>
|
||||||
<span class="stat-sep"></span>
|
<span class="stat-sep"></span>
|
||||||
<span class="stat"><strong>{len(languages)}</strong> languages</span>
|
<span class="stat"><strong>{len(languages)}</strong> languages</span>
|
||||||
<span class="stat-sep"></span>
|
|
||||||
<span class="stat"><strong>{format_stars(total_stars)}</strong> total stars</span>
|
|
||||||
</div>
|
</div>
|
||||||
<a href="#content" class="hero-cta">Browse the List</a>
|
<a href="#content" class="hero-cta">Browse the List</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user