Update Readme to specify which template is needed for which IPython version

This commit is contained in:
Jörg Dietrich
2014-05-06 11:04:17 +02:00
parent 5d1b77a238
commit 620d176f30

View File

@@ -110,9 +110,10 @@ are a few extra steps required for this plugin:
### Collapsible Code in IPython Notebooks ### Collapsible Code in IPython Notebooks
The plugin also enables collapsible code input boxes. For this to work The plugin also enables collapsible code input boxes. For this to work
you first need to copy the file ``pelicanhtml.tpl`` to the top level you first need to copy the file ``pelicanhtml_1.tpl`` (for IPython
of your Pelican blog. Notebook input cells containing the comment line 1.x) ``pelicanhtml_2.tpl`` (for IPython 2.x) to the top level of your
``# <!-- collapse=True -->`` will be collapsed when the html page is Pelican blog. Notebook input cells containing the comment line ``#
<!-- collapse=True -->`` will be collapsed when the html page is
loaded and can be expanded by clicking on them. Cells containing the loaded and can be expanded by clicking on them. Cells containing the
comment line ``# <!-- collapse=False -->`` will be open on load but comment line ``# <!-- collapse=False -->`` will be open on load but
can be collapsed by clicking on their header. Cells without collapse can be collapsed by clicking on their header. Cells without collapse