`context` here is the template context, rather than the `XBlock` view context.