getpelican/pelican — pull request #969 by russkel (2013-07-18 04:05:11+00:00)
Title: added lstrip env var to jinja2

The lstrip_blocks var: (from http://jinja.pocoo.org/docs/api/#high-level-api)

> lstrip_blocks
> If this is set to True leading spaces and tabs are stripped from the start of a line to a block. Defaults to False.

For example:

```

{% for tag in article.tags %}

{{ tag }}

{% endfor %}

```

Generated:

```

pelican

blog

rst

python

html5

```

Now patched, generates:

```

pelican

blog

rst

python

html5

```

:+1: