Skip to content

Commit

Permalink
fix #1624 -- add deps in post_list
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Feb 15, 2015
1 parent f1925b4 commit 0c6333e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Expand Up @@ -14,6 +14,8 @@ Features
Bugfixes
--------

* Use post dependencies in post_list to make ``post.text()`` work
(Issue #1624)
* Use pyphen properly when there are no dictionaries for this language
(Issue #1613)
* Fix ``nikola deploy`` when there is no cache (Issue #1615)
Expand Down
3 changes: 3 additions & 0 deletions nikola/plugins/compile/rest/post_list.py
Expand Up @@ -165,6 +165,9 @@ def run(self):
if not posts:
return []

for post in posts:
self.state.document.settings.record_dependencies.add(*post.deps())

template_data = {
'lang': lang,
'posts': posts,
Expand Down

0 comments on commit 0c6333e

Please sign in to comment.