Skip to content
Permalink
Browse files
Clarify that updated defaults to the value for date
  • Loading branch information
gwax committed Apr 15, 2018
1 parent 80bff39 commit 536619f591617f8ebffe9887dab3d7186d886346
Showing with 5 additions and 4 deletions.
  1. +5 −4 docs/manual.rst
@@ -387,10 +387,11 @@ template
.. template: story.tmpl
updated
The last time this post was updated, defaults to now. It is not displayed
by default in most themes, including the defaults — you can use
``post.formatted_updated(date_format)`` (and perhaps check ``if post.updated
!= post.date``) in your post template to show it.
The last time this post was updated, defaults to the posts ``date``
metadata value. It is not displayed by default in most themes, including
the defaults — you can use ``post.formatted_updated(date_format)`` (and
perhaps check ``if post.updated != post.date``) in your post template to
show it.

To add these metadata fields to all new posts by default, you can set the
variable ``ADDITIONAL_METADATA`` in your configuration. For example, you can

0 comments on commit 536619f

Please sign in to comment.