Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'

This commit is contained in:
Bjørn Erik Pedersen
2025-04-10 13:04:51 +02:00
987 changed files with 12379 additions and 14083 deletions

View File

@@ -1,16 +1,12 @@
---
title: Lastmod
description: Returns the last modification date of the given page.
description: Returns the last modification date of the given page.
categories: []
keywords: []
action:
related:
- methods/page/Date
- methods/page/ExpiryDate
- methods/page/PublishDate
- methods/page/GitInfo
returnType: time.Time
signatures: [PAGE.Lastmod]
params:
functions_and_methods:
returnType: time.Time
signatures: [PAGE.Lastmod]
---
Set the last modification date in front matter:
@@ -35,6 +31,6 @@ Learn more about [date configuration].
[`gitinfo`]: /methods/page/gitinfo/
[`time.format`]: /functions/time/format/
[date configuration]: /getting-started/configuration/#configure-dates
[date configuration]: /configuration/front-matter/#dates
[time methods]: /methods/time/
[time.time]: https://pkg.go.dev/time#time
[time.time]: https://pkg.go.dev/time#Time