Increase blog category threshhold to 10
This commit is contained in:
parent
8dbee56b38
commit
a83ad6506c
|
@ -550,9 +550,9 @@ def partial_tags():
|
||||||
result.append(dict(
|
result.append(dict(
|
||||||
category=tag if len(tag) else Config.blog.default_category,
|
category=tag if len(tag) else Config.blog.default_category,
|
||||||
count=tags[tag],
|
count=tags[tag],
|
||||||
small=tags[tag] < 3, # TODO: make this configurable
|
small=tags[tag] < 10, # TODO: make this configurable
|
||||||
))
|
))
|
||||||
if tags[tag] < 3:
|
if tags[tag] < 10:
|
||||||
has_small = True
|
has_small = True
|
||||||
|
|
||||||
g.info["tags"] = result
|
g.info["tags"] = result
|
||||||
|
|
Loading…
Reference in New Issue
Block a user