jupyter test post
To include a jupyter notebook in a post, you can use the following code:
{::nomarkdown}
{% assign jupyter_path = "assets/jupyter/jupytesting.ipynb" | relative_url %}
{% capture notebook_exists %}{% file_exists assets/jupyter/jupytesting.ipynb %}{% endcapture %}
{% if notebook_exists == "true" %}
{% jupyter_notebook jupyter_path %}
{% else %}
<p>Sorry, the notebook you are looking for does not exist.</p>
{% endif %}
{:/nomarkdown}