figure out how to pass it to templates
probably in views