resources/page: Validate predefined front matter dates

Closes #10717
This commit is contained in:
Joe Mooring
2024-09-23 14:53:07 -07:00
committed by Bjørn Erik Pedersen
parent 578442f892
commit 4c02a52f7c
3 changed files with 27 additions and 24 deletions

View File

@@ -425,6 +425,7 @@ func (p *pageState) setMetaPostParams() error {
ModTime: mtime,
GitAuthorDate: gitAuthorDate,
Location: langs.GetLocation(pm.s.Language()),
PathOrTitle: p.pathOrTitle(),
}
// Handle the date separately