Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the problem that occurs when every tag has the same number of posts. #1202

Merged
merged 1 commit into from
Apr 15, 2015

Conversation

naokiy
Copy link
Contributor

@naokiy naokiy commented Apr 14, 2015

If every tag has the same number of posts, tagcloud was broken because of division by zero.

Now every tag share the lowest level in this case.

  • font ... smallest
  • color ... same with start_color

this PR will fix #1123 .

If every tag has the same number of posts, tagcloud was broken because of division by zero.

Now every tag share the lowest level in this case.

  * font ... smallest
  * color ... same with start_color
@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.65% when pulling 83842f6 on naokiy:same_tag_count into c132017 on hexojs:master.

tommy351 added a commit that referenced this pull request Apr 15, 2015
Fix the problem that occurs when every tag has the same number of posts.
@tommy351 tommy351 merged commit 56bfc43 into hexojs:master Apr 15, 2015
@naokiy naokiy deleted the same_tag_count branch April 16, 2015 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tagcloud font-size error
3 participants