1
0
Fork 0
forked from github/pelican

Fixing documentation according to Issue #362.

The documentation as it is right now produces a  CRITICAL: 'article' is
undefined
This commit is contained in:
karl 2013-08-03 00:31:43 -04:00
commit 03e9d0182d

View file

@ -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 %}