-
-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Labels
Description
This works:
import air
jinja = air.JinjaRendered('templates')
@app.page
def index(request: air.Request):
return jinja(request, 'home.html', title=air.Title('Home page'))but the reverse is failing:
import air
jinja = air.JinjaRendered('templates')
@app.page
def index(request: air.Request):
return air.layouts.mvpcss(
air.Title('Home Page'),
jinja('Content Page')
)
That's because we went back to `JinjaRenderer` only returning a TemplateResponse. We need to also have a separate render method.Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Ready