1
0
Fork 0
forked from github/pelican

Add reST example to arbitrary metadata FAQ entry

This commit is contained in:
Justin Mayer 2013-05-06 06:51:54 -07:00
commit 43f4d0df7a

View file

@ -77,7 +77,11 @@ include the following at the top of the article::
Modified: 2012-08-08
That metadata can then be accessed in the template::
For reStructuredText, this metadata should of course be prefixed with a colon::
:Modified: 2012-08-08
This metadata can then be accessed in the template::
{% if article.modified %}
Last modified: {{ article.modified }}