{# Zelda theme -- ROM upload page. Two states: empty (no ROM uploaded yet) and active (ROM stored). The preview grid in the active state hits the live delivery route, so the operator can confirm extraction works. Inherits from bragi's admin/base.html so the page sits inside the admin chrome (sidebar, top nav, shared layout). #} {% extends "admin/base.html" %} {% block title %}Link's Awakening ROM{% endblock %} {% block content %}
Sites › {{ site.slug }} › Zelda theme › ROM

Link's Awakening ROM

{% if rom_sha %}
✓ ROM active
sha256: {{ rom_sha[:12] }}…

Sprites are extracted live on every page render. Previews below are real extractions through the public delivery route.

{% for name in sprite_names %}
{# Preview URLs are absolute (///...) because /zelda/rom///.png is registered via register_delivery_blueprint and only exists on the delivery app at the site's public hostname, not on the admin host where this page renders. #} {# Cache-buster mixes ROM SHA + theme version per #68 so theme upgrades auto-invalidate cached PNGs even when the ROM hasn't changed. #} {{ name }}
{{ name }}
{% endfor %}
{% else %}
No ROM uploaded
Drop your .gb file here
or choose a file · max 4 MB
{% endif %}
{% endblock %}