Mercurial > piecrust2
diff piecrust/generation/blogarchives.py @ 711:ab5c6a8ae90a
bake: Replace hard-coded taxonomy support with "generator" system.
* Taxonomies are now implemented one or more `TaxonomyGenerator`s.
* A `BlogArchivesGenerator` stub is there but non-functional.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 26 May 2016 19:52:47 -0700 |
parents | |
children | 09115f0900f0 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/piecrust/generation/blogarchives.py Thu May 26 19:52:47 2016 -0700 @@ -0,0 +1,9 @@ +from piecrust.generation.base import PageGenerator + + +class BlogArchivesPageGenerator(PageGenerator): + GENERATOR_NAME = 'blog_archives' + + def bake(self, ctx): + pass +