Skip to content
Permalink
Browse files

projectpages: compat with SHOW_UNTRANSLATED_POSTS = False

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 18, 2015
1 parent 4ce1043 commit 19a74bacc0cbd9dee60b65db808b694583fbf7d2
Showing with 4 additions and 4 deletions.
  1. +2 −2 v7/projectpages/projectpages.plugin
  2. +2 −2 v7/projectpages/projectpages.py
@@ -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
@@ -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
@@ -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,

0 comments on commit 19a74ba

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