mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fix silly mistakes in last doc update
This commit is contained in:
parent
532001c851
commit
440a68636b
1 changed files with 3 additions and 3 deletions
|
|
@ -69,14 +69,14 @@ Can I use arbitrary meta-data in my templates?
|
||||||
==============================================
|
==============================================
|
||||||
|
|
||||||
Yes. For example, to include a modified date in a Markdown post, one could
|
Yes. For example, to include a modified date in a Markdown post, one could
|
||||||
include the following at the top of the article:
|
include the following at the top of the article::
|
||||||
|
|
||||||
Modified: 2012-08-08
|
Modified: 2012-08-08
|
||||||
|
|
||||||
That meta-data can then be accessed in the template:
|
That meta-data can then be accessed in the template::
|
||||||
|
|
||||||
{% if article.modified %}
|
{% if article.modified %}
|
||||||
Last modified: {{ article.full }}
|
Last modified: {{ article.modified}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
How do I assign custom templates on a per-page basis?
|
How do I assign custom templates on a per-page basis?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue