{% if data and 'plotly' in data and data.plotly != {} %}
{% if 'plotly' in data and 'layout' in data.plotly and 'title' in data.plotly.layout and 'text' in data.plotly.layout.title %} {{ data.plotly.layout.title.text|striptags }} {% else %} {{ schema.title }} {% endif %}
{% else %} — {% endif %}