Files
hugo/docs/content/en/methods/site/Lastmod.md
T
Bjørn Erik Pedersen 30a20122b7 Merge commit '8f3c066d23f431fb2c53d97ea489e4c28b42bd82'
# Conflicts:
#	docs/data/docs.yaml
2026-02-14 12:14:33 +01:00

532 B

title, description, categories, keywords, params
title description categories keywords params
Lastmod Returns the last modification date of site content.
functions_and_methods
returnType signatures
time.Time
SITE.Lastmod

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