Skip to content
Permalink
Browse files
Adding task dependency so that indexes require render_posts to be exe…
…cuted first.
  • Loading branch information
felixfontein committed Feb 28, 2015
1 parent e9d9648 commit dadc8d7c13eb954275e4259a599c2dc5a8a74a87
Showing with 1 addition and 0 deletions.
  1. +1 −0 nikola/nikola.py
@@ -1605,6 +1605,7 @@ def generic_index_renderer(self, lang, posts, indexes_title, template_name, cont
kw['filters'],
context,
)
task['task_dep'] = ['render_posts']
task['uptodate'] = task['uptodate'] + [utils.config_changed(kw, 'nikola.nikola.Nikola.generic_index_renderer')] + additional_dependencies
task['basename'] = basename
yield task

0 comments on commit dadc8d7

Please sign in to comment.