blog_kit icon indicating copy to clipboard operation
blog_kit copied to clipboard

Add option to [Read More] on main page, and truncation limit

Open ryanstout opened this issue 14 years ago • 1 comments

ryanstout avatar Jun 04 '10 21:06 ryanstout

Quick way, that I use, is a different partial for teaser-mode: _blog_post.html.erb used for full view, blog_teaser.html.erb for partial-view. In fact, this would eliminate the _blog_post.html.erb alltogether, since that is used only in "show" and could therefore live in show alltogether. It also remove the need for some if-statements (like wether or not to show comments) in the partial: making the partial a lot cleaner.

berkes avatar Jul 02 '10 11:07 berkes