Differences between revisions 1 and 2
Revision 1 as of 2009-05-12 11:41:39
Size: 534
Comment: Initial version of extension page.
Revision 2 as of 2009-05-12 11:44:22
Size: 657
Comment: Note about crew requirement, some other nits.
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

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


CategoryExtension

Jinja2Extension (last edited 2012-02-15 22:17:52 by ks3095497)