From 7aef604f7d88ec827fbb87619f85054af2f5cc2c Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 9 Aug 2018 15:07:18 +1000 Subject: [PATCH] regression, if there is not excerpt skip --- app/views/list/list.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/list/list.erb b/app/views/list/list.erb index 14d6965497..99abddc494 100644 --- a/app/views/list/list.erb +++ b/app/views/list/list.erb @@ -53,7 +53,7 @@ <% end %> '>(<%= t.posts_count %>) - <% if t.pinned_until && t.pinned_until > Time.zone.now && (t.pinned_globally || @list.category) %> + <% if t.pinned_until && (t.pinned_until > Time.zone.now) && (t.pinned_globally || @list.category) && t.excerpt %>

<%= t.excerpt.html_safe %>