Lastmod

Last Edit: 2026-06-09

Render the last modified date for given page or context.

Usage

Partial

{{ partial "lastmod" . }}

Shortcode

{{< lastmod >}}

Example

{{ partial "lastmod" . }}
{{< lastmod >}}
2026-06-09

References

1 2


  1. The Hugo Authors. “Lastmod .” 2026. ↩︎

  2. Wikipedia. “ISO 8601 .” 2026. ↩︎