[deploy] Add number_with_delimiter to post count (#9225)

This commit is contained in:
Alex 2020-07-09 15:55:11 -04:00 committed by GitHub
parent aa8e6e29ab
commit 47b363bed7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@
<p class="mb-2 color-base-70 truncate-at-3"><%= sanitize tag.short_summary %></p>
<% end %>
<p class="mb-3 fs-s color-base-60">
<%= pluralize tag.taggings_count, "post" %> published
<%= pluralize(number_with_delimiter(tag.taggings_count), "post") %> published
<% if tag.sponsorship && tag.sponsorship.status == "live" && tag.sponsorship.expires_at > Time.current %>
| Sponsored by <%= tag.sponsorship.organization.name %> ❤️
<% end %>