Skip to content

Commit

Permalink
fix for some static sections
Browse files Browse the repository at this point in the history
  • Loading branch information
nofurtherinformation committed Aug 5, 2024
1 parent d3f6e17 commit 28affa3
Show file tree
Hide file tree
Showing 3 changed files with 10,174 additions and 13,427 deletions.
3 changes: 1 addition & 2 deletions hooks/useMdxContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import matter from "gray-matter"
import { getContentDirs } from "utils/contentDirs"
import { collections } from "tina/collections/collections"
import IS_DEV from "utils/isDev"
import parseRich from "utils/mdx/parseRich"
import parseRichRecursive from "utils/mdx/parseRichRecursive"

const parseCache: any = {}
Expand All @@ -28,7 +27,7 @@ export const getMdxContent = async <T extends any>(contentType: keyof typeof cli
[contentType]: {
id: `public/content/${contentType}/${relativePath}`,
__typename: contentType,
body: parseRich(frontMatter.content),
body: frontMatter.content,
...fmData,
},
}
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"@semantic-release/npm": "^11.0.1",
"@semantic-release/release-notes-generator": "^12.1.0",
"@t3-oss/env-nextjs": "^0.7.1",
"@tanstack/react-table": "^8.19.3",
"@tinacms/cli": "^1.5.42",
"@tinacms/graphql": "^1.4.33",
"@tinacms/mdx": "^1.3.23",
Expand Down
Loading

0 comments on commit 28affa3

Please sign in to comment.