Mercurial > piecrust2
comparison piecrust/sources/array.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 | e7b865f8f335 |
| children |
comparison
equal
deleted
inserted
replaced
| 710:e85f29b28b84 | 711:ab5c6a8ae90a |
|---|---|
| 40 | 40 |
| 41 def getPageFactories(self): | 41 def getPageFactories(self): |
| 42 for p in self.inner_source: | 42 for p in self.inner_source: |
| 43 yield CachedPageFactory(p) | 43 yield CachedPageFactory(p) |
| 44 | 44 |
| 45 def getTaxonomyPageRef(self, tax_name): | |
| 46 return None | |
| 47 |
