diff piecrust/appconfig.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 c0cbcd4752f0
line wrap: on
line diff
--- a/piecrust/appconfig.py	Sun May 21 00:06:59 2017 -0700
+++ b/piecrust/appconfig.py	Sun Jun 04 23:34:28 2017 -0700
@@ -391,7 +391,7 @@
         sc.setdefault('items_per_page', 5)
         sc.setdefault('date_format', DEFAULT_DATE_FORMAT)
         sc.setdefault('realm', REALM_USER)
-        sc.setdefault('pipeline', 'page')
+        sc.setdefault('pipeline', None)
 
         # Validate endpoints.
         endpoint = sc['data_endpoint']
@@ -436,6 +436,7 @@
                                      r_source)
         used_sources.add(r_source)
 
+        rc.setdefault('pass', 1)
         rc.setdefault('page_suffix', '/%num%')
 
     return v