Mercurial > piecrust2
comparison piecrust/templating/base.py @ 1011:c4cf3cfe2726
bake: Better performance stats, and add callback to preload templates.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 26 Nov 2017 22:23:03 -0800 |
parents | 1bb704434ee2 |
children |
comparison
equal
deleted
inserted
replaced
1010:501bd4ab7e06 | 1011:c4cf3cfe2726 |
---|---|
25 EXTENSIONS = [] | 25 EXTENSIONS = [] |
26 | 26 |
27 def initialize(self, app): | 27 def initialize(self, app): |
28 self.app = app | 28 self.app = app |
29 | 29 |
30 def populateCache(self): | |
31 pass | |
32 | |
30 def renderSegment(self, path, segment, data): | 33 def renderSegment(self, path, segment, data): |
31 raise NotImplementedError() | 34 raise NotImplementedError() |
32 | 35 |
33 def renderFile(self, paths, data): | 36 def renderFile(self, paths, data): |
34 raise NotImplementedError() | 37 raise NotImplementedError() |