Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(frontmatter): dealias created/modified/updated time #1664

Merged
merged 6 commits into from
Dec 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update quartz/plugins/transformers/frontmatter.ts
  • Loading branch information
aarnphm authored Dec 23, 2024
commit abf6b6a838dadaf46118d555e177d967648b6faa
2 changes: 1 addition & 1 deletion quartz/plugins/transformers/frontmatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const FrontMatter: QuartzTransformerPlugin<Partial<Options>> = (userOpts)

const socialImage = coalesceAliases(data, ["socialImage", "image", "cover"])

const created = coalesceAliases(data, ["date", "created"])
const created = coalesceAliases(data, ["created", "date"])
if (created) data.created = created
const modified = coalesceAliases(data, [
"lastmod",
Expand Down
Loading