Cut feature
Mon, 24 Aug 2009
, modified Fri, 18 Sep 2009
Here is a new for bootylicious but an ordinary feature for any other blog software. It is cutting or previewing your article on the main page (or RSS feed), while showing its full content on article page.
This is controlled by the so called "cut tag". By default it is [cut] but of course it can be changed to fit your style.
Title: My Article
I am going to tell a bit more about myself...
[cut]
My name is..
Everything after the cut tag will be cut from the article content leaving the default link 'Keep reading' leading to the article page. You can change the text if you want like this:
[cut] Read more about me
Configuring cut tag is done through configuration file:
"cuttag" : "[preview]"
Be aware that you can't use html entities, because they are escaped while parsing the POD. Also don't use pod-style directives like '=cut', they won't be parsed correctly.
