{# content_template is resolved once, in Python, by RendererConfig.resolve_page_template() (see lib/renderer_config.py and app_factory.py's landing-page route) - an ordered, predicate-based rule list ("last match wins"), not a hardcoded if/else. LabFREED ships defaults (-MS -> digital_label, -MD -> device, -DR -> run_page, else the generic pac_info page); an issuer app registers its own additional rules via IssuerFlaskAppFactory(renderer_config=...) without needing to touch this file. #} {% block page_main_content %}