Skip to content

Commit

Permalink
chore: update docusaurus template
Browse files Browse the repository at this point in the history
Signed-off-by: aeneasr <aeneasr@users.noreply.github.com>
  • Loading branch information
aeneasr committed Apr 25, 2021
1 parent e8efa64 commit 0913cfe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/contrib/sidebar.js
Expand Up @@ -52,7 +52,9 @@ const toHref = (slug, node) => {
return {
label: fm.data.title,
type: 'link',
href: `https://www.ory.sh/${slug}/docs/next/${fm.data.slug || node}`
href: `https://www.ory.sh/${slug}/docs/${slug !== 'docs' ? 'next/' : ''}${
fm.data.slug || node
}`
}
}

Expand Down

0 comments on commit 0913cfe

Please sign in to comment.