Skip to content
Permalink
Browse files

Avoiding Nikola trying to cache posts which aren't written anyway.

  • Loading branch information
felixfontein committed Sep 6, 2015
1 parent 27dca29 commit e3d1f1db33b629b9d257b5fa2dafb85172c2b6af
Showing with 2 additions and 0 deletions.
  1. +2 −0 nikola/plugins/task/posts.py
@@ -77,6 +77,8 @@ def tl_ch():
deps_dict = copy(kw)
deps_dict.pop('timeline')
for post in kw['timeline']:
if not post.is_translation_available(lang) and not self.site.config['SHOW_UNTRANSLATED_POSTS']:
return
# Extra config dependencies picked from config
for p in post.fragment_deps(lang):
if p.startswith('####MAGIC####CONFIG:'):

0 comments on commit e3d1f1d

Please sign in to comment.
You can’t perform that action at this time.