Teasers with the IPython notebook plugin

English   |   Código fuente   |   Minimap

Just a little tip...

You know that Nikola support TEASERS... if not, you can read more about that here: teasers_info.

In a few words, if you don't want to show the complete content of your posts at the index page, but instead display only the beginning of them, you only need to add a "magical comment" in a markdown cell:

<!-- TEASER_END -->

And all the content after this "magical comment" will not be rendered at the index page.

In this way, you can avoid the load of "heavy" things at the index and make your site main page loading faster... nice, don't you think?


Don't forget this blog post is an ipynb file itself! So, you can download it from the "Source" link at the top of the post if you want to play with it ;-)

Comments powered by Disqus