Skip to content

Commit

Permalink
Fix navigation when running locally
Browse files Browse the repository at this point in the history
  • Loading branch information
Zbynek Konecny committed Jul 5, 2024
1 parent 102f7e7 commit 8a7a777
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions serve.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"trailingSlash": true
}
4 changes: 2 additions & 2 deletions ui-bundle/partials/nav-explore.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
{{/if}}
<ul class="components">
<li class="component{{#if (eq 'Manual' @root.page.component.title)}} is-current{{/if}}">
<div class="title"><a href="{{{relativize '/manual/'}}}{{page.componentVersion.version}}">Manual</a></div>
<div class="title"><a href="{{{relativize '/manual/'}}}{{page.componentVersion.version}}/">Manual</a></div>
</li>
<li class="component{{#if (eq 'Reference' @root.page.component.title)}} is-current{{/if}}">
<div class="title"><a href="{{{relativize '/reference/en'}}}">Reference</a></div>
<div class="title"><a href="{{{relativize '/reference/en'}}}/">Reference</a></div>
</li>
</ul>
</div>

0 comments on commit 8a7a777

Please sign in to comment.