Skip to content
Myr

add changelog

Before adoption: this commit came in with the history the project adopted, so no landing records it.

fix unrelated docs issue

authored by David Lord · committed by David Lord · parent 2c49d14 · Browse files · 2 files+10 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+10 added−4 removed

  • other:+10 added−4 removed

2 files+10 added−4 removed

modified:docs/templates.rst+2 added-4 removed
1307 unmodified lines
1308The general syntax is ``<do something> if <something is true> else <do1309something else>``.13101311The `else` part is optional. If not provided, the else block implicitly1312evaluates into an undefined object:1312evaluates into an undefined object::13131314.. sourcecode:: jinja1314 {{ ('[%s]' % page.title) if page.title }}13151316 {{ '[%s]' % page.title if page.title }}131613181317.. _builtin-filters:13181319List of Builtin Filters1320-----------------------
347 unmodified lines
modified:CHANGES.rst+8 added
1.. currentmodule:: jinja223Jinja Changelog4===============56
1 unmodified line
8------------910unreleased1112- Async support is only loaded the first time an13 :class:`~environment.Environment` enables it, in order to avoid a14 slow initial import. (`#765`_)1516.. _#765: https://github.com/pallets/jinja/issues/765171819Version 2.1020------------2122released on November 8th 2017
588 unmodified lines