Mercurial > piecrust2
diff piecrust/sources/base.py @ 855:448710d84121
refactor: Get the taxonomy support back to a functional state.
There's now a taxonomy content source that wraps another normal content source
like a blog posts' source. It works in tandem with a taxonomy content pipeline
that will do the heavy lifting of figuring out what kind of terms exist and
need to be baked.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 06 Jun 2017 00:26:21 -0700 |
parents | 08e02c2a2a1a |
children | fddaf43424e2 |
line wrap: on
line diff
--- a/piecrust/sources/base.py Sun Jun 04 23:34:28 2017 -0700 +++ b/piecrust/sources/base.py Tue Jun 06 00:26:21 2017 -0700 @@ -89,12 +89,6 @@ def is_theme_source(self): return self.config['realm'] == REALM_THEME - @property - def root_dir(self): - if self.is_theme_source: - return self.app.theme_dir - return self.app.root_dir - @cached_property def route(self): return self.app.getSourceRoute(self.name)