diff options
Diffstat (limited to 'nikola/plugins/task_render_pages.py')
| -rw-r--r-- | nikola/plugins/task_render_pages.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nikola/plugins/task_render_pages.py b/nikola/plugins/task_render_pages.py index 1892c13..0145579 100644 --- a/nikola/plugins/task_render_pages.py +++ b/nikola/plugins/task_render_pages.py @@ -8,11 +8,11 @@ # distribute, sublicense, and/or sell copies of the # Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: -# +# # The above copyright notice and this permission notice # shall be included in all copies or substantial portions of # the Software. -# +# # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR @@ -41,9 +41,9 @@ class RenderPages(Task): self.site.scan_posts() flag = False for lang in kw["translations"]: - for wildcard, destination, template_name, _ in kw["post_pages"]: - for task in self.site.generic_page_renderer(lang, - wildcard, template_name, destination, kw["filters"]): + for post in self.site.timeline: + for task in self.site.generic_page_renderer(lang, post, + kw["filters"]): task['uptodate'] = [config_changed({ 1: task['uptodate'][0].config, 2: kw})] |
