{{#if page.component}}
<div class="context">
<span class="title">{{page.component.title}}</span>
- <span class="version">{{page.version}}</span>
+ <span class="version">{{page.componentVersion.displayVersion}}</span>
</div>
{{/if}}
<ul class="components">
<li class="version
{{~#if (and (eq ../this @root.page.component) (eq this @root.page.componentVersion))}} is-current{{/if~}}
{{~#if (eq this ../latestVersion)}} is-latest{{/if}}">
- <a href="{{{relativize @root.page.url ./url}}}">{{./version}}</a>
+ <a href="{{{relativize @root.page.url ./url}}}">{{./displayVersion}}</a>
</li>
{{/each}}
</ul>
{{#if page.versions}}
<div class="page-versions">
- <button class="versions-menu-toggle" title="Show other versions of page">{{page.version}}</button>
+ <button class="versions-menu-toggle" title="Show other versions of page">{{page.componentVersion.displayVersion}}</button>
<div class="versions-menu">
{{#each page.versions}}
<a class="version
{{~#if (eq ./version @root.page.version)}} is-current{{/if~}}
- {{~#if ./missing}} is-missing{{/if}}" href="{{{relativize @root.page.url ./url}}}">{{./version}}</a>
+ {{~#if ./missing}} is-missing{{/if}}" href="{{{relativize @root.page.url ./url}}}">{{./displayVersion}}</a>
{{/each}}
</div>
</div>