regression, if there is not excerpt skip
This commit is contained in:
parent
ed4c0f256e
commit
7aef604f7d
|
@ -53,7 +53,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<span class='posts' title='<%= t 'posts' %>'>(<%= t.posts_count %>)</span>
|
<span class='posts' title='<%= t 'posts' %>'>(<%= t.posts_count %>)</span>
|
||||||
|
|
||||||
<% 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 %>
|
||||||
<p class='excerpt'>
|
<p class='excerpt'>
|
||||||
<%= t.excerpt.html_safe %>
|
<%= t.excerpt.html_safe %>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue