https://docs.datasette.io/en/stable/internals.html#await-render-template-template-context-none-request-none
await .render_template(template, context=None, request=None)
This currently only accepts a single template. If it accepted a list of templates (where the first available template gets rendered) it could be more widely used by Datasette internally.
Spotted this while researching #1042.