Denote posts with substantive changes or simply draw older, more relevant posts closer to the top of the listings with last modified.
Modifications will be made obvious to visitors with a visible callout in post summaries and the original publish date will be kept intact in the post bylines.
For robots, making this change will automatically update Schema Structured Data, RSS feeds and the
lastmod setting in your Sitemap.
Adjust last modified by adding a
publishdate to post Front Matter and updating the
date to the date and time you would like to show for the modification.
You can be specific and use a datetime (with timezone offset) like:
date = "2017-02-02T01:20:56-06:00" publishdate = "2016-11-21T10:32:33+08:00"
Or less specific and use just the dates:
date = "2017-02-02" publishdate = "2016-11-21"
It’s also possible to future and expiry dates for content in Hugo. To learn more see the documentation on Draft, Future, and Expired Content.