Mercurial > piecrust2
diff piecrust/sources/base.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 | ff404adfcf45 |
children | 58ebf50235a5 |
line wrap: on
line diff
--- a/piecrust/sources/base.py Thu May 26 19:46:28 2016 -0700 +++ b/piecrust/sources/base.py Thu May 26 19:52:47 2016 -0700 @@ -133,9 +133,3 @@ return self._provider_type(self, page, override) - def getTaxonomyPageRef(self, tax_name): - tax_pages = self.config.get('taxonomy_pages') - if tax_pages is None: - return None - return tax_pages.get(tax_name) -