nextjs-portfolio-starter
nextjs-portfolio-starter copied to clipboard
Duplicate h1 in pages/index.mdx
The .mdx page templates set the page title and h1 with title: About
. The template specifies # Your Name Here
, however, this causes a duplicate h1 and results in # Your Name Here
to not be rendered on the page and for the page title and h1 to be whatever is specified for title:
.
https://demo.vercel.blog/ seems to function as intended, replacing the set title: About
with # Your Name Here
, in the index.mdx page temple.
Am I missing something or is this a function of creating a meta.json in the pages/ directory?
*Note When cloning this repo, the issue is not present.
The issue IS present when installing via
yarn create next-app --example blog my-blog
or
yarn add next nextra react react-dom
yarn add nextra-theme-blog
I have the same problem. I'm really new to web development and I just want to use markfown for a blog I have to finish by next week lol.
Ok so related issue:
Now # Your Name Here
is ignored and page only shows contents of title:
.
Could anybody help me out?
Ok so related issue: Now
# Your Name Here
is ignored and page only shows contents oftitle:
. Could anybody help me out? You can define how the pages are shown in the sidebar via the _meta.json file: { "index": "My Homepage", "contact": "Contact Us", "about": "About Us" }
Ok same issue: Could anybody help me out?