-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its execution
Description
As https://docusaurus.io/docs/en/doc-markdown.html says:
title: The title of your document. If this field is not present, the document's title will default to it's id.
sidebar_label: The text shown in the document sidebar for this document. If this field is not present, the document's sidebar_label will default to it's title.
I'm trying to use these two together. Here's a concrete example:
I have foo.md. It has this as its header:
---
title: A Foo
---This works great. But, this means I have "A Foo" in the sidebar, and I'd like it to be Foo. So I set the sidebar_label:
---
title: A Foo
siebar_label: Foo
---And now, my page title is back to Foo, rather than A Foo.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its execution