feat: include gear in activity index summaries; generate OG images in serve rebuild
This commit is contained in:
@@ -120,6 +120,8 @@ def _apply_sidecar_summary(summary: dict, fm: dict) -> dict:
|
||||
s["sport"] = str(fm["sport"])
|
||||
if "sub_sport" in fm:
|
||||
s["sub_sport"] = str(fm["sub_sport"]) if fm["sub_sport"] else None
|
||||
if "gear" in fm:
|
||||
s["gear"] = str(fm["gear"]) if fm["gear"] else s.get("gear")
|
||||
if "highlight" in fm:
|
||||
s["custom"]["highlight"] = bool(fm["highlight"])
|
||||
if "private" in fm:
|
||||
|
||||
Reference in New Issue
Block a user