mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-13 12:22:33 -05:00
feat: add emulator logos to profiles and site
This commit is contained in:
@@ -410,10 +410,13 @@ def generate_emulator_page(name: str, profile: dict, db: dict,
|
||||
cores = profile.get("cores", [name])
|
||||
files = profile.get("files", [])
|
||||
|
||||
logo_url = profile.get("logo", "")
|
||||
logo_md = f"{{ width=48 align=right }}\n\n" if logo_url else ""
|
||||
|
||||
lines = [
|
||||
f"# {emu_name} - {SITE_NAME}",
|
||||
"",
|
||||
f"| | |",
|
||||
logo_md + f"| | |",
|
||||
f"|---|---|",
|
||||
f"| Type | {emu_type} |",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user