{%- if page_source_suffix == '.py' %} {%- set notebook = pagename.split('/')[-1] ~ '.ipynb' %} {%- endif %}