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?
--
You received this message because you are subscribed to the Google Groups
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jupyter/7c687371-c9c5-4971-9c78-a46086eb88f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.