blob: 51f684275a7d9107e0e10e940801ecc3d4e0c0c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
{{#if page.versions}}
<div class="page-versions">
<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}}}">{{./displayVersion}}</a>
{{/each}}
</div>
</div>
{{/if}}
|