* Add Algolia to search and add Only My Posts filter * Actually fix Algolia index possible issue * Fix search issue * Make minor adjustments to sponsorship sidebar * Make submission rules headsup html allowed and remove devise trackable * Remove devise_trackable from application_controller * Adjust login CTA for /new * Adjust string in test to reflect changes * Quick fix for internal navigatioon draft caching issue * Add ID to internal/articles * Fix auth with Twitter in two places * Added comments to algolia and modified design * Update sidebar styles and make other small adjustments * Clean up tag styling and other small improvements * Finalize design adjustments * Add indexing condition for comments * Fix Algolia typo * Fix Algolia indexing on comment
14 lines
No EOL
725 B
Text
14 lines
No EOL
725 B
Text
<div class="widget-link-list__item">
|
|
<a href="<%= plucked_article[0] %>">
|
|
<%= plucked_article[1] %>
|
|
</a>
|
|
<% if show_comment_count %>
|
|
<div class="discuss-list-comment-count">
|
|
<% if plucked_article[2] > 0 %>
|
|
<img src="<%= asset_path("comments-bubble.svg") %>" alt="Comments" /> <%= plucked_article[2] %>
|
|
<% else %>
|
|
<span class="discuss-list-comment-count discuss-list-comment-count-brand-new">fresh</span>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|
|
</div> |