remove PAGES; use pages instead

* remove PAGES from context as pages is available
* add section to FAQ to provide guidance
This commit is contained in:
derwinlu 2015-06-18 23:33:20 +02:00
commit ec5c77b251
5 changed files with 17 additions and 3 deletions

View file

@ -644,7 +644,6 @@ class PagesGenerator(CachingGenerator):
process_translations(hidden_pages))
self._update_context(('pages', 'hidden_pages'))
self.context['PAGES'] = self.pages
self.save_cache()
self.readers.save_cache()