Once I've set a custom cell metadata property, I can access that property easily in a template:
{% if cell.metadata.get('my_property')... %}
I see that I can edit notebook metadata, but I can't figure out how to access that metadata in a template. This fails, because notebook is not defined:
{% if notebook.metadata.get("my_notebook_property")... %}
Is there a straightforward way to access notebook metadata in a template?