Mercurial > piecrust2
diff piecrust/commands/builtin/info.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 | a65f04ddbea2 |
children | dafb7d76c2ba |
line wrap: on
line diff
--- a/piecrust/commands/builtin/info.py Thu May 26 19:46:28 2016 -0700 +++ b/piecrust/commands/builtin/info.py Thu May 26 19:52:47 2016 -0700 @@ -81,8 +81,8 @@ def run(self, ctx): for route in ctx.app.routes: logger.info("%s:" % route.uri_pattern) - logger.info(" source: %s" % route.source_name) - logger.info(" taxonomy: %s" % (route.taxonomy_name or '')) + logger.info(" source: %s" % (route.source_name or '')) + logger.info(" generator: %s" % (route.generator_name or '')) logger.info(" regex: %s" % route.uri_re.pattern)