From 131130785e9340385f5085d220e5e5160cf9b120 Mon Sep 17 00:00:00 2001 From: Maggie Appleton Date: Mon, 6 Sep 2021 15:42:22 +0100 Subject: [PATCH] updated garden paths --- {posts/gardens => gardens}/andy-matuschak.mdx | 0 {posts/gardens => gardens}/bill-seitz.mdx | 0 {posts/gardens => gardens}/buster-benson.mdx | 0 {posts/gardens => gardens}/gwern-branden.mdx | 0 {posts/gardens => gardens}/joel-hooks.mdx | 0 {posts/gardens => gardens}/tom-critchlow.mdx | 0 utils/mdxUtils.js | 4 ++-- 7 files changed, 2 insertions(+), 2 deletions(-) rename {posts/gardens => gardens}/andy-matuschak.mdx (100%) rename {posts/gardens => gardens}/bill-seitz.mdx (100%) rename {posts/gardens => gardens}/buster-benson.mdx (100%) rename {posts/gardens => gardens}/gwern-branden.mdx (100%) rename {posts/gardens => gardens}/joel-hooks.mdx (100%) rename {posts/gardens => gardens}/tom-critchlow.mdx (100%) 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