From: Jon Dufresne Date: Fri, 21 Jun 2019 20:25:28 +0000 (-0700) Subject: Correct syntax highlighting of jinja block in docs X-Git-Tag: 2.11.0~80^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01af17832383f69c46ece1545c842d403ae9bd45;p=thirdparty%2Fjinja.git Correct syntax highlighting of jinja block in docs --- 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 `` if 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 }}