Skip to content

Commit

Permalink
docs: another layout fix for 5.x docs
Browse files Browse the repository at this point in the history
Fix #10607
  • Loading branch information
vkarpov15 committed Aug 26, 2021
1 parent 5bf3c29 commit 2a3399e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/layout.pug
Expand Up @@ -66,11 +66,11 @@ html(lang='en')
li.pure-menu-item
a.pure-menu-link(href="/docs/5.x/docs/guides.html", class=outputUrl === '/docs/guides.html' ? 'selected' : '') Guides
li.pure-menu-item.sub-item
a.pure-menu-link(href="/docs/5.x/guide.html", class=outputUrl === '/docs/schemas.html' ? 'selected' : '') Schemas
a.pure-menu-link(href="/docs/5.x/docs/guide.html", class=outputUrl === '/docs/schemas.html' ? 'selected' : '') Schemas
li.pure-menu-item.sub-item
a.pure-menu-link(href="/docs/5.x/schematypes.html", class=outputUrl === '/docs/schematypes.html' ? 'selected' : '') SchemaTypes
a.pure-menu-link(href="/docs/5.x/docs/schematypes.html", class=outputUrl === '/docs/schematypes.html' ? 'selected' : '') SchemaTypes
li.pure-menu-item.sub-item
a.pure-menu-link(href="/docs/5.x/connections.html", class=outputUrl === '/docs/connections.html' ? 'selected' : '') Connections
a.pure-menu-link(href="/docs/5.x/docs/connections.html", class=outputUrl === '/docs/connections.html' ? 'selected' : '') Connections
- if (['/docs/connections', '/docs/tutorials/ssl'].some(path => outputUrl.startsWith(path)))
li.pure-menu-item.tertiary-item
a.pure-menu-link(href="/docs/5.x/tutorials/ssl.html", class=outputUrl === '/docs/tutorials/ssl.html' ? 'selected' : '') SSL Connections
Expand Down

0 comments on commit 2a3399e

Please sign in to comment.