From 03e9d0182d03779632d96bbce2e9f67d32e4eeaf Mon Sep 17 00:00:00 2001 From: karl Date: Sat, 3 Aug 2013 00:31:43 -0400 Subject: [PATCH] Fixing documentation according to Issue #362. The documentation as it is right now produces a CRITICAL: 'article' is undefined --- docs/faq.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/faq.rst b/docs/faq.rst index a8043e07..8eafba3f 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -92,7 +92,7 @@ For reStructuredText, this metadata should of course be prefixed with a colon:: This metadata can then be accessed in the template:: - {% if article.modified %} + {% if article and article.modified %} Last modified: {{ article.modified }} {% endif %}