Mercurial > piecrust2
diff piecrust/sources/default.py @ 854:08e02c2a2a1a
core: Keep refactoring, this time to prepare for generator sources.
- Make a few APIs simpler.
- Content pipelines create their own jobs, so that generator sources can
keep aborting in `getContents`, but rely on their pipeline to generate
pages for baking.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 04 Jun 2017 23:34:28 -0700 |
parents | f070a4fc033c |
children | fddaf43424e2 |
line wrap: on
line diff
--- a/piecrust/sources/default.py Sun May 21 00:06:59 2017 -0700 +++ b/piecrust/sources/default.py Sun Jun 04 23:34:28 2017 -0700 @@ -16,6 +16,7 @@ SimpleAssetsSubDirMixin, IPreparingSource, IInteractiveSource): SOURCE_NAME = 'default' + DEFAULT_PIPELINE_NAME = 'page' def __init__(self, app, name, config): super().__init__(app, name, config)