fix: ensure recentnotes uses proper date

This commit is contained in:
Jacky Zhao 2023-08-24 09:38:00 -07:00
parent 6cd0612d40
commit fc4b8f3d3f

View File

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