aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-06-21 13:25:28 -0700
committerDavid Lord <davidism@gmail.com>2019-07-20 14:10:02 -0700
commit01af17832383f69c46ece1545c842d403ae9bd45 (patch)
tree4343b827e16b16c011484064da2d5233f8e20bf0 /docs
parent13cc9f410c3c3f196d5e595dafe79f700a8c71c0 (diff)
downloadjinja-01af17832383f69c46ece1545c842d403ae9bd45.tar.gz
Correct syntax highlighting of jinja block in docs
Diffstat (limited to 'docs')
-rw-r--r--docs/templates.rst4
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/templates.rst b/docs/templates.rst
index cb20ba2c..6d3bf367 100644
--- a/docs/templates.rst
+++ b/docs/templates.rst
@@ -1350,9 +1350,7 @@ 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:
-
-.. code-block:: text
+evaluates into an undefined object::
{{ ('[%s]' % page.title) if page.title }}