From d58934c288a78c408b384ce7d9821cff9f96f42d Mon Sep 17 00:00:00 2001
From: Kevin Turner <83819+keturn@users.noreply.github.com>
Date: Tue, 19 Feb 2019 15:30:07 -0800
Subject: [PATCH] add date_fanciness checks to the example theme code
---
docs/manual.rst | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/docs/manual.rst b/docs/manual.rst
index 5178295b21..778875d1ad 100644
--- a/docs/manual.rst
+++ b/docs/manual.rst
@@ -1632,6 +1632,7 @@ For Mako:
.. code:: html
+ % if date_fanciness != 0:
@@ -1642,12 +1643,14 @@ For Mako:
fancydates(${date_fanciness}, ${js_date_format});
+ %endif
For Jinja2:
.. code:: html
+ {% if date_fanciness != 0 %}
@@ -1658,6 +1661,7 @@ For Jinja2:
fancydates({{ date_fanciness }}, {{ js_date_format }});
+ {% endif %}
Adding Files