Skip to content
Permalink
Browse files
Merge pull request #1633 from getnikola/gallery-rss-fix
Fixing dependencies of gallery RSS generation.
  • Loading branch information
felixfontein committed Mar 9, 2015
2 parents dea2d09 + f45eb3f commit 1cf4899c7d5690bbbfe4408802b41e3a577e2cc4
Showing with 4 additions and 1 deletion.
  1. +4 −1 nikola/plugins/task/galleries.py
@@ -254,8 +254,11 @@ def gen_tasks(self):
context['post'] = None
file_dep = self.site.template_system.template_deps(
template_name) + image_list + thumbs
file_dep_dest = self.site.template_system.template_deps(
template_name) + dest_img_list + thumbs
if post:
file_dep += [post.translated_base_path(l) for l in self.kw['translations']]
file_dep_dest += [post.translated_base_path(l) for l in self.kw['translations']]

yield utils.apply_filters({
'basename': self.name,
@@ -289,7 +292,7 @@ def gen_tasks(self):
yield utils.apply_filters({
'basename': self.name,
'name': rss_dst,
'file_dep': file_dep,
'file_dep': file_dep_dest,
'targets': [rss_dst],
'actions': [
(self.gallery_rss, (

0 comments on commit 1cf4899

Please sign in to comment.