add changelog

fix unrelated docs issue
This commit is contained in:
David Lord 2018-02-06 07:48:10 -08:00
parent 2c49d14cec
commit 989a7db234
No known key found for this signature in database
GPG Key ID: 7A1C87E3F5BC42A8
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,5 @@
.. currentmodule:: jinja2
Jinja Changelog
===============
@ -7,6 +9,12 @@ Version 2.11
unreleased
- Async support is only loaded the first time an
:class:`~environment.Environment` enables it, in order to avoid a
slow initial import. (`#765`_)
.. _#765: https://github.com/pallets/jinja/issues/765
Version 2.10
------------

View File

@ -1309,11 +1309,9 @@ The general syntax is ``<do something> if <something is true> else <do
something else>``.
The `else` part is optional. If not provided, the else block implicitly
evaluates into an undefined object:
evaluates into an undefined object::
.. sourcecode:: jinja
{{ '[%s]' % page.title if page.title }}
{{ ('[%s]' % page.title) if page.title }}
.. _builtin-filters: