Skip to content
Permalink
Browse files

Also providing children count when adding counts.

  • Loading branch information
felixfontein committed Nov 30, 2016
1 parent a312923 commit 099165d13502dc3dbdc47ed41f04a4ba32ad6c06
Showing with 1 addition and 0 deletions.
  1. +1 −0 nikola/plugins/task/taxonomies.py
@@ -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
]

0 comments on commit 099165d

Please sign in to comment.
You can’t perform that action at this time.