Mercurial > piecrust2
diff piecrust/plugins/builtin.py @ 185:139179dc7abd
render: Add support for a Mustache template engine.
Add unit tests for the new class.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 04 Jan 2015 14:59:12 -0800 |
parents | 6d23473fab41 |
children | d5b7c2a4ec9d |
line wrap: on
line diff
--- a/piecrust/plugins/builtin.py Sun Jan 04 14:58:40 2015 -0800 +++ b/piecrust/plugins/builtin.py Sun Jan 04 14:59:12 2015 -0800 @@ -28,6 +28,7 @@ from piecrust.sources.autoconfig import AutoConfigSource from piecrust.sources.prose import ProseSource from piecrust.templating.jinjaengine import JinjaTemplateEngine +from piecrust.templating.pystacheengine import PystacheTemplateEngine class BuiltInPlugin(PieCrustPlugin): @@ -73,7 +74,8 @@ def getTemplateEngines(self): return [ - JinjaTemplateEngine()] + JinjaTemplateEngine(), + PystacheTemplateEngine()] def getFormatters(self): return [