diff options
Diffstat (limited to 'app/views/refinery/blog')
-rw-r--r-- | app/views/refinery/blog/shared/_post.html.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/refinery/blog/shared/_post.html.erb b/app/views/refinery/blog/shared/_post.html.erb index 1a52fd4..5b90c8e 100644 --- a/app/views/refinery/blog/shared/_post.html.erb +++ b/app/views/refinery/blog/shared/_post.html.erb @@ -30,7 +30,9 @@ </section> <footer> <p> - <%= link_to t('read_more', :scope => 'refinery.blog.shared.posts'), refinery.blog_post_path(post) if blog_post_teaser_enabled? %> + <% if blog_post_teaser_enabled? && post.custom_teaser.present? %> + <%= link_to t('read_more', :scope => 'refinery.blog.shared.posts'), refinery.blog_post_path(post) %> + <% end %> </p> <aside class='comment_count'> <% if Refinery::Blog::Post.comments_allowed? %> |