mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-03 04:02:38 +00:00
b8d5383f71
See #2196
541 B
541 B
title, description, categories, keywords, action
| title | description | categories | keywords | action | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Lastmod | Returns the last modification date of site content. |
|
{{< new-in 0.123.0 >}}
The Lastmod method on a Site object returns a time.Time value. Use this with time functions and methods. For example:
{{ .Site.Lastmod | time.Format ":date_long" }} → January 31, 2024