Commit cc157e13 authored by 박민석's avatar 박민석

ui test

parent 57ed53d1
Pipeline #21042 passed with stages
in 4 minutes and 21 seconds
......@@ -5,17 +5,16 @@
<h2 class="title"><a href="{{{relativize ./url}}}">{{page.component.title}}</a></h2>
<button class="version-menu-toggle" title="Show other versions of page">{{#if (or page.componentVersion.version (ne page.componentVersion.displayVersion 'default'))}}v{{page.componentVersion.displayVersion}}{{/if}}</button>
{{!-- {{#with site.components.[0]}} --}}
{{#each site.components}}
{{#each site.components}}
{{#if (or ./versions.[1] ./versions.[0].version (ne ./versions.[0].displayVersion 'default'))}}
<div class="version-menu">
{{#each this.versions}}
{{#each ./versions}}
<a class="version
{{~#if (and (eq .. @root.page.component) (eq this @root.page.componentVersion))}} is-current{{/if~}}
{{~#if (eq this ../latest)}} is-latest{{/if}}" href="{{{relativize ./url}}}">v{{this.displayVersion}}</a>
{{/each}}
{{/each}}
</div>
{{/each}}
{{!-- {{/with}} --}}
{{/if}}
{{/each}}
</div>
{{/if}}
{{!-- {{/with}} --}}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment