Skip to content

Commit

Permalink
Update ContentMeta.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
corvusdeinanis committed Apr 23, 2024
1 parent e319b3a commit 1ba3b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quartz/components/ContentMeta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default ((opts?: Partial<ContentMetaOptions>) => {
// segments.push(formatDate(getDate(cfg, fileData)!))
const createdDate = formatDate(getDate(cfg, fileData)!)
let modifiedDateSegment = '';
if (fileData.frontmatter.modified) {
if (fileData.frontmatter.lastupdated) {
const modifiedDate = formatDate(new Date(fileData.frontmatter.lastupdated));
modifiedDateSegment = `, ⬆ modified on ${modifiedDate}`;
}
Expand Down

0 comments on commit 1ba3b85

Please sign in to comment.