fix: ensure recentnotes uses proper date

This commit is contained in:
Jacky Zhao 2023-08-24 09:38:00 -07:00
parent 7e537a83cb
commit 9973f77c5b

View File

@ -48,7 +48,7 @@ export default ((userOpts?: Partial<Options>) => {
</div> </div>
{page.dates && ( {page.dates && (
<p class="meta"> <p class="meta">
<Date date={getDate(cfg, fileData)!} /> <Date date={getDate(cfg, page)!} />
</p> </p>
)} )}
<ul class="tags"> <ul class="tags">