12 lines
415 B
Text
12 lines
415 B
Text
<a class="crayons-link crayons-link--contentful" href="<%= plucked_article[0] %>">
|
|
<%= plucked_article[1] %>
|
|
<% if show_comment_count %>
|
|
<div class="crayons-link__secondary">
|
|
<% if plucked_article[2] > 0 %>
|
|
<%= pluralize(plucked_article[2], "comment") %>
|
|
<% else %>
|
|
<span class="crayons-indicator crayons-indicator--accent">New</span>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|
|
</a>
|