diff options
author | Joe Sak <joe@joesak.com> | 2011-06-23 09:43:53 -0500 |
---|---|---|
committer | Joe Sak <joe@joesak.com> | 2011-06-23 09:43:53 -0500 |
commit | 787a0916b1514a7b904f5653d0c2810aab4ffa94 (patch) | |
tree | fc747e8f06428af8d057f1666082750f5d603811 /app/views/blog | |
parent | e906ed2eca96a87b737052d55ef635ce60fbffdc (diff) | |
parent | 767346b6941dbdff3aa2ef1f58a87429597da212 (diff) | |
download | refinerycms-blog-787a0916b1514a7b904f5653d0c2810aab4ffa94.tar.gz refinerycms-blog-787a0916b1514a7b904f5653d0c2810aab4ffa94.tar.bz2 refinerycms-blog-787a0916b1514a7b904f5653d0c2810aab4ffa94.zip |
Merge branch 'custom_teasers' of https://github.com/wikyd/refinerycms-blog into wikyd-custom-teasers
Diffstat (limited to 'app/views/blog')
-rw-r--r-- | app/views/blog/shared/_post.html.erb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/blog/shared/_post.html.erb b/app/views/blog/shared/_post.html.erb index 00e5d23..4750ef8 100644 --- a/app/views/blog/shared/_post.html.erb +++ b/app/views/blog/shared/_post.html.erb @@ -21,9 +21,7 @@ </section> </header> <section class='clearfix'> - <%= truncate(post.body, - :length => RefinerySetting.find_or_set(:blog_post_teaser_length, 250), - :preserve_html_tags => true) %> + <%= blog_post_teaser(post) %> </section> <footer> <p> |