mirror of
https://github.com/Abdess/retrobios.git
synced 2026-06-26 12:52:48 +00:00
feat: add emulator logos to profiles and site
This commit is contained in:
parent
6885681c65
commit
e218763500
26 changed files with 29 additions and 1 deletions
|
|
@ -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} |",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue