Browse Source

Increase blog category threshhold to 10

master
Noah Petherbridge 2 years ago
parent
commit
a83ad6506c
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      rophako/modules/blog/__init__.py

+ 2
- 2
rophako/modules/blog/__init__.py View File

@@ -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

Loading…
Cancel
Save