lucachr / pelican-mg

A responsive, minimal theme for Pelican that uses UIkit.
MIT License
59 stars 34 forks source link

Summary doesn't work properly when jupyter notebooks are used #7

Open vinaymodi opened 7 years ago

vinaymodi commented 7 years ago

When a post is created as ipynb (jupyter notebook) following the procedure mentioned in https://github.com/danielfrg/pelican-ipynb, the summary content is ipython specific elements instead of text of the post. This issue doesn't occur many other pelican themes.

The summary of a post appears as:

/! IPython notebook / / CSS font colors for translated ANSI colors. / .ansibold { font-weight: bold; } / use dark versions for foreground, to improve visibility / .ansiblack { color: black; } .ansired { color: darkred; } .ansigreen { color: darkgreen; } .ansiyellow { color: #c4a000; } .ansiblue { color: darkblue; } .ansipurple { color: darkviolet; } .ansicyan { color: steelblue; } .ansigray { color: gray; } / and light for background, for the same reason */ .ansibgblack { background-color: black; } .ansibgred { background-color: red; } .ansibggreen {...