diff --git a/pelican/generators.py b/pelican/generators.py index 5122fa6d..2cb95f1a 100644 --- a/pelican/generators.py +++ b/pelican/generators.py @@ -572,7 +572,8 @@ class ArticlesGenerator(CachingGenerator): ( tag, int(math.floor(steps - (steps - 1) * math.log(count) - / (math.log(max_count)or 1))) + / (math.log(max_count)or 1))), + count ) for tag, count in tag_cloud ]