Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Also providing children count when adding counts.
  • Loading branch information
felixfontein committed Nov 30, 2016
1 parent a312923 commit 099165d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nikola/plugins/task/taxonomies.py
Expand Up @@ -122,6 +122,7 @@ def acceptor(node):
self.site.link(taxonomy.classification_name, node.classification_name, lang),
node.indent_levels, node.indent_change_before,
node.indent_change_after,
len(node.children),
len(self._filter_list(self.site.posts_per_classification[taxonomy.classification_name][lang][node.classification_name], lang)))
for node in clipped_flat_hierarchy
]
Expand Down

0 comments on commit 099165d

Please sign in to comment.