Skip to content

Commit

Permalink
Temp redirect, format:all
Browse files Browse the repository at this point in the history
  • Loading branch information
catalinred committed Sep 11, 2024
1 parent 60085e3 commit fa0b01b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions rewrites-redirects.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@
{
"source": "/developers/guides/getstarted/setup-local-development",
"destination": "/docs/intro/installation"
},
{
"source": "/environment",
"destination": "https://climate.solana.com/"
}
]
}
2 changes: 1 addition & 1 deletion src/lib/markdown/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function getPostBySlug(path, slug) {
const date =
data.date && typeof data.date !== "string"
? format(data.date, "MMMM dd, yyyy")
: (data.date ?? null);
: data.date ?? null;
return {
path: realSlug,
frontmatter: { ...data, date, reviewed: true },
Expand Down

0 comments on commit fa0b01b

Please sign in to comment.