forked from github/pelican
Add static pages listing and options.
This commit is contained in:
parent
c989db50c9
commit
f7cbef6393
4 changed files with 16 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue