Increase blog category threshhold to 10

master
Noah 2017-01-12 04:43:38 +00:00
부모 8dbee56b38
커밋 a83ad6506c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@ -550,9 +550,9 @@ def partial_tags():
result.append(dict(
category=tag if len(tag) else Config.blog.default_category,
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
g.info["tags"] = result