Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2009-05-12 11:41:39
Size: 534
Comment: Initial version of extension page.
Revision 4 as of 2009-05-25 13:44:32
Size: 664
Editor: abuehl
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


CategoryExtensionsByOthers

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