mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-07-21 19:35:59 -04:00
update constants
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
// Next.js constants (not needed in frontend)
|
||||
export const NOTES_DIR = "./notes";
|
||||
@@ -41,7 +41,4 @@ module.exports = {
|
||||
linkedin: "jakejarvis",
|
||||
instagram: "jakejarvis",
|
||||
},
|
||||
|
||||
// Next.js constants
|
||||
NOTES_DIR: "./notes",
|
||||
};
|
||||
|
||||
+2
-1
@@ -8,7 +8,8 @@ import { compiler } from "markdown-to-jsx";
|
||||
import removeMarkdown from "remove-markdown";
|
||||
import sanitizeHtml from "sanitize-html";
|
||||
import readingTime from "reading-time";
|
||||
import { NOTES_DIR, baseUrl } from "./config";
|
||||
import { baseUrl } from "./config";
|
||||
import { NOTES_DIR } from "./config/constants";
|
||||
|
||||
// remark/rehype markdown plugins
|
||||
import remarkGfm from "remark-gfm";
|
||||
|
||||
Reference in New Issue
Block a user