Skip to content

Homepage / index page for a sidebar category? #3772

Answered by slorber
borekb asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

You can control the url of each doc with the slug frontmatter, so it is already possible to create:

  • doc1.md: slug: /references
  • doc2.md: slug: /references/doc2

Not sure it's related, but we also plan to support sidebar categories linking to a doc:
#2643

We don't do the redirect you ask for by default (it would be hard for us to know where to redirect to), but you can probably add it in userland.
There's the redirect plugin to redirect one URL to any other URL you want, and you can create content at any URL thanks to slug.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@borekb
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by slorber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants