Skip to content

Commit

Permalink
projectpages: compat with SHOW_UNTRANSLATED_POSTS = False
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 18, 2015
1 parent 4ce1043 commit 19a74ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions v7/projectpages/projectpages.plugin
Expand Up @@ -6,7 +6,7 @@ Module = projectpages
MinVersion = 7.1.0+

[Documentation]
Author = Chris “Kwpolska” Warrick
Version = 0.1.2
Author = Chris Warrick
Version = 0.1.3
Website = http://plugins.getnikola.com/#projectpages
Description = Generate project pages
4 changes: 2 additions & 2 deletions v7/projectpages/projectpages.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright © 2014 Chris “Kwpolska” Warrick and others.
# Copyright © 2014–2015, Chris Warrick.

# Permission is hereby granted, free of charge, to any
# person obtaining a copy of this software and associated
Expand Down Expand Up @@ -150,7 +150,7 @@ def gen_tasks(self):
file_dep = []

for p in self.projects:
file_dep += [p.translated_base_path(l) for l in self.kw['translations']]
file_dep += [p.translated_base_path(l) for l in self.kw['translations'] if l in p.translated_to]

yield utils.apply_filters({
'basename': self.name,
Expand Down

0 comments on commit 19a74ba

Please sign in to comment.