mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Expose tag count to theme template
This commit is contained in:
parent
f9dff82197
commit
a9148776a2
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue