From: ngr Date: Mon, 14 May 2018 15:20:32 +0000 (-0400) Subject: remove html+jinja highlight X-Git-Tag: 2.11.0~116^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87672b85fcbc8fbc116e3b030d5414d2149f5896;p=thirdparty%2Fjinja.git remove html+jinja highlight --- diff --git a/docs/templates.rst b/docs/templates.rst index c60234b3..c02da146 100644 --- a/docs/templates.rst +++ b/docs/templates.rst @@ -1309,7 +1309,9 @@ The general syntax is `` if else ``. The `else` part is optional. If not provided, the else block implicitly -evaluates into an undefined object:: +evaluates into an undefined object: + +.. code-block:: text {{ ('[%s]' % page.title) if page.title }}