mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
fixing the inline code markup
This commit is contained in:
parent
6a0d19ef5c
commit
a4ce664f17
1 changed files with 2 additions and 2 deletions
|
|
@ -90,13 +90,13 @@ For reStructuredText, this metadata should of course be prefixed with a colon::
|
|||
|
||||
:Modified: 2012-08-08
|
||||
|
||||
This metadata can then be accessed in templates such as `article.html` via::
|
||||
This metadata can then be accessed in templates such as ``article.html`` via::
|
||||
|
||||
{% if article.modified %}
|
||||
Last modified: {{ article.modified }}
|
||||
{% endif %}
|
||||
|
||||
If you want to include metadata in templates outside the article context (e.g., `base.html`), the `if` statement should instead be:
|
||||
If you want to include metadata in templates outside the article context (e.g., ``base.html``), the ``if`` statement should instead be:
|
||||
|
||||
{% if article and article.modified %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue