### Bug description

Publishing a qmd file with format `hugo`, the `last-modified `date is showing the published date ("March 19, 2022") rather than the date the qmd was last updated (October 6, 2022).

---
date: 2022-03-19
date-format: long
format: hugo
lastmod: last-modified
---

<img width="142" alt="image" src="https://user-images.githubusercontent.com/32419319/194310851-b12d777f-d1df-4803-9271-84f2985a1ad0.png">

The whole qmd file is [available here](https://github.com/cgoo4/quantumjitter/blob/main/content/project/happiness/index.qmd).

The whole output is [published here](https://www.quantumjitter.com/project/happiness/), with both dates printed in the details twistie at the foot of the page per the above snippet.

`lastmod: '`r Sys.Date()`'` in my other Rmarkdown files works okay.

Update 25/11 -- I've rebuilt the site with the html format to make fuller use of all the Quarto features including code-linking and date-modified etc.

RStudio IDE Version running on Mac OS:

RStudio 2022.07.1+554 "Spotted Wakerobin" Release (7872775ebddc40635780ca1ed238934c3345c5de, 2022-07-22) for macOS
Mozilla/5.0 (Macintosh; Intel Mac OS X 12_6_0) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.10 Chrome/69.0.3497.128 Safari/537.36

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
2022-10-06T12:27:36Z
cgoo4
bug
Future
open
Not showing the last-modified date
https://github.com/quarto-dev/quarto-cli/issues/2745