Skip to content

Commit

Permalink
Adding task dependency so that indexes require render_posts to be exe…
Browse files Browse the repository at this point in the history
…cuted first.
  • Loading branch information
felixfontein committed Feb 28, 2015
1 parent e9d9648 commit dadc8d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nikola/nikola.py
Expand Up @@ -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
Expand Down

0 comments on commit dadc8d7

Please sign in to comment.