1
0
Fork 0
forked from github/pelican

Add static pages listing and options.

This commit is contained in:
Alexis Metaireau 2010-11-05 02:05:00 +00:00
commit f7cbef6393
4 changed files with 16 additions and 2 deletions

View file

@ -106,6 +106,8 @@ class PagesProcessor(Processor):
if not is_valid_content(page, f):
continue
self.pages.append(page)
context['PAGES'] = self.pages
def process(self, context, generator):
templates = generator.get_templates()