danielfrg / pelican-jupyter

Pelican plugin for blogging with Jupyter/IPython Notebooks
Apache License 2.0
423 stars 105 forks source link

summary in *.ipynb-meta file ignored #52

Closed dmmfll closed 8 years ago

dmmfll commented 8 years ago

If article.summary is referenced in a template, the summary is not the summary in *.ipynb-meta file. The first cell of the notebook was used in its place.

I discovered this when I added a template for inserting twitter card meta tags: see the template example here

After setting self.settings['summary'] = metadata['summary'] I get the expected behavior.

I submitted a pull request.