Replies: 2 comments 1 reply
-
Can we get _meta.json to work with blog theme pages? Or hide pages with md frontmatter? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes you can use the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've read in the docs that you could use
_meta.json
file to structure how page should render in the nav. The customization is presented here. But the doc doesn't state how to use that option (at first I though I only had to create such a file but apparently not).Here is the file structure I have for now:
The
_meta.json
file:My
next.config.js
looks like this:My
theme.config.jsx
looks like this:On my home page I still have this showing:
Where "About" and "Posts" are the markdown meta
title: ...
respectively defined inindex.md
andposts/index.md
.Beta Was this translation helpful? Give feedback.
All reactions