FIX: show category links if category has sub-categories in nojs view
This commit is contained in:
parent
1e739e8c96
commit
1e6bf67b5b
|
@ -22,7 +22,7 @@
|
|||
<span itemprop='name'><%= t.title %></span>
|
||||
</a>
|
||||
<%= page_links(t) %>
|
||||
<% if !@category && t.category %>
|
||||
<% if (!@category || @category.has_children?) && t.category %>
|
||||
<span>[<a href='<%= t.category.url %>'><%= t.category.name %></a>]</span>
|
||||
<% end %>
|
||||
<span title='<%= t 'posts' %>'>(<a href="<%=t.last_post_url%>"><%= t.posts_count %></a>)</span>
|
||||
|
|
Loading…
Reference in New Issue