Skip to content

Commit

Permalink
Fix #2446
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Aug 17, 2016
1 parent 5e5cfa2 commit e1d1641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/template/mako.py
Expand Up @@ -132,7 +132,7 @@ def template_deps(self, template_name):
dep_filenames = self.get_deps(template.filename)
deps = [template.filename]
for fname in dep_filenames:
deps += self.get_deps(fname)
deps += [fname] + self.get_deps(fname)
self.cache[template_name] = deps
return list(self.cache[template_name])

Expand Down

0 comments on commit e1d1641

Please sign in to comment.