The {{latest:%B %d, %Y}} substitution parameter references the latest created or modified time of a node, or any of its child nodes, and formats the date/time value using an strftime format string in the rvalue portion of the parameter.
In other words, the {{latest:%B %d, %Y}} parameter lets you display the latest date that is found in a given node, or any node found underneath it in the tree.
This can be especially useful for setting copyright dates, or displaying the date that anything in a section of your web site was last updated.
For example, this node has the following Created and Modified headers set in the distant past:
Created: 1970-01-01T00:00:00-00:00 Modified: 1970-01-11T00:00:00-00:00
However, this node also has a child node, with the following headers set:
Created: 2026-06-13T15:55:09-04:00 Modified: 2026-06-13T15:55:09-04:00
Because the dates on the child node are in the future (relatively speaking), here is what the {{latest:%B %d, %Y}} substitution parameter evaluates to on this node:
June 13, 2026
The {{latest:%B %d, %Y}} parameter checks all of the dates for every node in the tree, starting from the current node and working its way down, and evaluates to the latest date that it finds in any of the nodes.
You can put something like this into a template, to get every page to display the copyright date of anything in that section of the site:
© {{latest:%Y}} Foo Bar, Inc.
On this node, this evaluates to:
© 2026 Foo Bar, Inc.
The format string has a lot of different options. See the Python datetime strftime() reference or the strftime(3) man page for further details.
Compare this with the {{created:%B %d, %Y}}, {{modified:%B %d, %Y}} and {{oldest:%B %d, %Y}} parameters.
This page was generated by Uriel with the following settings:
Page Details
| Resource | Path | Project File |
|---|---|---|
| Node | parameters/latest/index | nodes/parameters/latest/index |
| Template | default.html | templates/default.html |
| URL | /parameters/latest/ | public/parameters/latest/index.html |
Node Headers
| Header (Lowercase) | Value |
|---|---|
| created | 1970-01-01T00:00:00-00:00 |
| modified | 1970-01-11T00:00:00-00:00 |
| title | {{latest:%B %d, %Y}} |
| +-tags | * |
| breadcrumb-separator | » |
| canonical-url | https://documentation.uriel.foo |
| rss-description | Uriel Documentation |
| rss-image-height | 32 |
| rss-image-url | /favicon-32x32.png |
| rss-image-width | 32 |
| rss-max-entries | 50 |
| rss-title | Uriel Documentation |
| rss-url | /rss.xml |
| sitemap-max-entries | 10000 |
| sitemap-url | /sitemap.xml |
| tag-node | tag |
| tags | parameters |
| template | default.html |
Node Timestamps
| Type | Value |
|---|---|
| Created | 1970-01-01T00:00:00+00:00 |
| Modified | 1970-01-11T00:00:00+00:00 |
Node Methods
| Method | Value |
|---|---|
| get_parent_node() | parameters/index |
| get_path() | parameters/latest/index |
| get_node_type() | file |
| get_url() | /parameters/latest/ |
| get_canonical_url() | https://documentation.uriel.foo/parameters/latest/ |
| get_name() | latest |
| get_display_name() | Latest |
| get_title() | {{latest:%B %d, %Y}} |
| get_escaped_title() | {{latest:%B %d, %Y}} |
| get_link() | <a href="/parameters/latest/">{{latest:%B %d, %Y}}</a> |
| get_canonical_link() | <a href="https://documentation.uriel.foo/parameters/latest/">{{latest:%B %d, %Y}}</a> |
| get_link_prefix() | <p> |
| get_link_suffix() | </p> |
| get_tags() | ['parameters'] |
| get_dest_dir() | ./public/parameters/latest |
| get_dest_file() | ./public/parameters/latest/index.html |
| get_breadcrumb_separator() | » |