Skip to content

Commit d4f4dc0

Browse files
Merge pull request #63 from opendevise/nav-explore-branch-build
show any version in nav explore when using a local/offline branch build
2 parents 8997056 + 41f1221 commit d4f4dc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/partials/nav-explore.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<a class="title" href="{{{relativize ./url}}}">{{{./title}}}</a>
1212
<ul class="versions">
1313
{{#each ./versions}}
14-
{{#if ./versionSegment}}
14+
{{#if (or ./versionSegment (not @root.site.url))}}
1515
<li class="version
1616
{{~#if (and (eq .. @root.page.component) (eq this @root.page.componentVersion))}} is-current{{/if~}}
1717
{{~#if (eq this ../latest)}} is-latest{{/if}}">

0 commit comments

Comments
 (0)