You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`contentPath`|`content/posts`| Location of blog posts|
61
-
|`assetPath`|`content/assets`| Location of assets|
62
-
|`mdx`|`true`| Configure `gatsby-plugin-mdx`. Note that most sites will not need to use this flag. If your site has already configured `gatsby-plugin-mdx`separately, set this flag `false`. |
|`contentPath`|`content/posts`| Location of blog posts|
63
-
|`assetPath`|`content/assets`| Location of assets|
64
-
|`mdx`|`true`| Configure `gatsby-plugin-mdx`. Note that most sites will not need to use this flag. If your site has already configured `gatsby-plugin-mdx`separately, set this flag `false`. |
Copy file name to clipboardExpand all lines: packages/gatsby-theme-notes/README.md
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -45,14 +45,17 @@ module.exports = {
45
45
```
46
46
47
47
3. Add notes to your site by creating `md` or `mdx` files inside `/content/notes`.
48
+
48
49
> Note that if you've changed the default `contentPath` in the configuration, you'll want to add your markdown files in the directory specified by that path.
49
50
51
+
4. Run your site using `gatsby develop` and navigate to your notes. If you used the above configuration, your URL will be `http://localhost:8000/notes`
|`contentPath`|`/content/notes`| Location of notes content|
56
-
|`mdx`|`true`| Configure `gatsby-plugin-mdx`. Note that most sites will not need to use this flag. If your site has already configured `gatsby-plugin-mdx`separately, set this flag `false`. |
57
-
|`homeText`|`~`| Root text for notes breadcrumb trail|
58
-
|`breadcrumbSeparator`|`/`| Separator for the breadcrumb trail|
0 commit comments