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:
parent
4c1b5c3429
commit
03e9d0182d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue