diff --git a/posts/gardens/andy-matuschak.mdx b/gardens/andy-matuschak.mdx similarity index 100% rename from posts/gardens/andy-matuschak.mdx rename to gardens/andy-matuschak.mdx diff --git a/posts/gardens/bill-seitz.mdx b/gardens/bill-seitz.mdx similarity index 100% rename from posts/gardens/bill-seitz.mdx rename to gardens/bill-seitz.mdx diff --git a/posts/gardens/buster-benson.mdx b/gardens/buster-benson.mdx similarity index 100% rename from posts/gardens/buster-benson.mdx rename to gardens/buster-benson.mdx diff --git a/posts/gardens/gwern-branden.mdx b/gardens/gwern-branden.mdx similarity index 100% rename from posts/gardens/gwern-branden.mdx rename to gardens/gwern-branden.mdx diff --git a/posts/gardens/joel-hooks.mdx b/gardens/joel-hooks.mdx similarity index 100% rename from posts/gardens/joel-hooks.mdx rename to gardens/joel-hooks.mdx diff --git a/posts/gardens/tom-critchlow.mdx b/gardens/tom-critchlow.mdx similarity index 100% rename from posts/gardens/tom-critchlow.mdx rename to gardens/tom-critchlow.mdx diff --git a/utils/mdxUtils.js b/utils/mdxUtils.js index a4063b0..f57e15b 100644 --- a/utils/mdxUtils.js +++ b/utils/mdxUtils.js @@ -2,8 +2,8 @@ import fs from "fs"; import path from "path"; // POSTS_PATH is useful when you want to get the path to a specific file -export const GARDENS_PATH = path.join(process.cwd(), "posts", "gardens"); -export const TOOLS_PATH = path.join(process.cwd(), "posts", "tools"); +export const GARDENS_PATH = path.join(process.cwd(), "gardens"); +export const TOOLS_PATH = path.join(process.cwd(), "tools"); // patternFilePath is the list of all mdx files inside the POSTS_PATH directory export const gardenFilePath = fs