Mercurial > piecrust2
diff piecrust/pipelines/_pagerecords.py @ 1020:298b07a899b5
bake: Fix overriding issues between theme and user pages for index pages.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 05 Dec 2017 22:26:25 -0800 |
parents | 1857dbd4580f |
children | 5f97b5b59dfe |
line wrap: on
line diff
--- a/piecrust/pipelines/_pagerecords.py Wed Nov 29 21:36:11 2017 -0800 +++ b/piecrust/pipelines/_pagerecords.py Tue Dec 05 22:26:25 2017 -0800 @@ -10,6 +10,7 @@ FLAG_FORCED_BY_PREVIOUS_ERRORS = 2**3 FLAG_FORCED_BY_GENERAL_FORCE = 2**4 FLAG_RENDER_CACHE_INVALIDATED = 2**5 + FLAG_COLLAPSED_FROM_LAST_RUN = 2**6 def create_subpage_job_result(out_uri, out_path): @@ -146,7 +147,8 @@ SubPageFlags.FLAG_FORCED_BY_NO_PREVIOUS: 'forced b/c new', SubPageFlags.FLAG_FORCED_BY_PREVIOUS_ERRORS: 'forced by errors', SubPageFlags.FLAG_FORCED_BY_GENERAL_FORCE: 'manually forced', - SubPageFlags.FLAG_RENDER_CACHE_INVALIDATED: 'cache invalidated' + SubPageFlags.FLAG_RENDER_CACHE_INVALIDATED: 'cache invalidated', + SubPageFlags.FLAG_COLLAPSED_FROM_LAST_RUN: 'from last run' }