Skip to content
Myr

Documented if-conditional changes.

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

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent 547d0b6 · Browse files · 1 file+5 added−0 removed
This commit

State

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

Diff stats

1 file+5 added−0 removed

  • other:+5 added−0 removed

1 file+5 added−0 removed

modified:docs/templates.rst+5 added
950 unmodified lines
951952The general syntax is ``<do something> if <something is true> else <do953something else>``.954955The `else` part is optional. If not provided the else block implicitly956evaluates into an undefined object::957958 {{ '[%s]' % page.title if page.title }}959960961.. _builtin-filters:962963List of Builtin Filters964-----------------------
151 unmodified lines