Skip to content
Permalink
Browse files
fix #1624 -- add deps in post_list
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Feb 15, 2015
1 parent f1925b4 commit 0c6333ee622a0fb946bdfdf72f3079e64b8bdceb
Showing with 5 additions and 0 deletions.
  1. +2 −0 CHANGES.txt
  2. +3 −0 nikola/plugins/compile/rest/post_list.py
@@ -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)
@@ -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,

0 comments on commit 0c6333e

Please sign in to comment.