Size: 534
Comment: Initial version of extension page.
|
Size: 664
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 13: | Line 13: |
The extension requires a very recent snapshot of Mercurial, d8c5a7f25a40 or later. Report any issues on Bitbucket, please. |
|
Line 19: | Line 21: |
jinja2 = ~/src/hg/jinja2ext/jinja2templater.py | jinja2 = ~/src/jinja2ext/jinja2templater.py |
Line 21: | Line 23: |
Line 23: | Line 24: |
CategoryExtension | CategoryExtensionsByOthers |
jinja2-templater
This extension is not distributed with Mercurial.
Author: Dirkjan Ochtman
Download site: http://bitbucket.org/djc/jinja2-templater/
Overview
This extension allows you to use Jinja2's templating syntax in templates for Mercurial (should work for command line and hgweb alike).
The extension requires a very recent snapshot of Mercurial, d8c5a7f25a40 or later. Report any issues on Bitbucket, please.
Configuration
Configure your .hgrc to enable the extension by adding following lines:
[extensions] jinja2 = ~/src/jinja2ext/jinja2templater.py