From 43f4d0df7a0778df8a4a868780fc0a2d8dbee7b7 Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Mon, 6 May 2013 06:51:54 -0700 Subject: [PATCH] Add reST example to arbitrary metadata FAQ entry --- docs/faq.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/faq.rst b/docs/faq.rst index e59bb4ae..f8bc2dca 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -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 }}