Skip to content

Commit

Permalink
remove references from layout
Browse files Browse the repository at this point in the history
  • Loading branch information
nofurtherinformation committed Apr 11, 2024
1 parent 05ad17c commit 7b547ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import Nav from "components/Nav"
import path from "path"
import "styles/tailwind.css"

const pagedir = path.join(process.cwd(), "content", "page")
const navdir = path.join(process.cwd(), "content", "nav")
const postsdir = path.join(process.cwd(), "content", "posts")

export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
Expand Down
6 changes: 6 additions & 0 deletions utils/contentDirs.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import path from "path"
export const contentDirs = [
path.join(process.cwd(), "content", "page"),
path.join(process.cwd(), "content", "nav"),
path.join(process.cwd(), "content", "posts")
]

0 comments on commit 7b547ad

Please sign in to comment.