diff --git a/app/presenters/tag_set_presenter.rb b/app/presenters/tag_set_presenter.rb index d6a728fa5..31c2e3554 100644 --- a/app/presenters/tag_set_presenter.rb +++ b/app/presenters/tag_set_presenter.rb @@ -54,7 +54,13 @@ private html << %{#{h(humanized_tag)} } unless options[:name_only] - html << %{} + counts[tag].to_s + %{} + if counts[tag].to_i > 1_000 + post_count = "#{counts[tag].to_i / 1_000}k" + else + post_count = counts[tag].to_s + end + + html << %{#{post_count}} end html << ""