forked from github/pelican
Add reST example to arbitrary metadata FAQ entry
This commit is contained in:
parent
2482baf837
commit
43f4d0df7a
1 changed files with 5 additions and 1 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue