文档 Hugo方法 站点 Lastmod Lastmod 返回站点内容的最后修改日期。 Syntax SITE.Lastmod Returns time.Time Site 对象上的 Lastmod 方法返回 time.Time 值。与时间 函数 和 方法 一起使用。例如: {{ .Site.Lastmod | time.Format ":date_long" }} → January 31, 2024 Last updated: January 1, 0001 Improve this page