Преглед изворни кода

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

Jörg Dietrich пре 11 година
родитељ
комит
620d176f30
1 измењених фајлова са 4 додато и 3 уклоњено
  1. 4 3
      liquid_tags/Readme.md

+ 4 - 3
liquid_tags/Readme.md

@@ -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
-of your Pelican blog. Notebook input cells containing the comment line
-``# <!-- collapse=True -->`` will be collapsed when the html page is
+you first need to copy the file ``pelicanhtml_1.tpl`` (for IPython
+1.x) ``pelicanhtml_2.tpl`` (for IPython 2.x) to the top level of your
+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