I noticed almost all links to the blog posts were broken in the website. so updated all of them.
one change I made for the fix is, I updated the permalink property in frontmatter of all blog posts to be prefixed with /posts/ instead of the /year/month/ format that they originally had. That way we don't need to fetch the frontmatter data of the target blog post file just in order to get the url path for it, but then just use /posts/filename in anywhere in the source-code. Also this format better reflects our folder structure (src/posts/*.{md,mdx}).
Hope it sounds good.
closes #108 closes #110
I noticed almost all links to the blog posts were broken in the website. so updated all of them. one change I made for the fix is, I updated the
permalink
property in frontmatter of all blog posts to be prefixed with/posts/
instead of the/year/month/
format that they originally had. That way we don't need to fetch the frontmatter data of the target blog post file just in order to get the url path for it, but then just use/posts/filename
in anywhere in the source-code. Also this format better reflects our folder structure (src/posts/*.{md,mdx}
). Hope it sounds good.Thanks,