Commit 57ed53d1 authored by 박민석's avatar 박민석

test

parent d87009cb
Pipeline #21033 passed with stages
in 4 minutes and 36 seconds
...@@ -5,19 +5,17 @@ ...@@ -5,19 +5,17 @@
<h2 class="title"><a href="{{{relativize ./url}}}">{{page.component.title}}</a></h2> <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> <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>
<!-- Version data: {{json site.components.versions}} --> {{!-- {{#with site.components.[0]}} --}}
{{#with site.components.[0]}} {{#each site.components}}
<!-- Version data: {{versions}} -->
<!-- Version data: {{./versions}} -->
<div class="version-menu"> <div class="version-menu">
{{#each ./versions}} {{#each this.versions}}
<a class="version <a class="version
{{!-- {{~#if (eq ./version @root.page.version)}} is-current{{/if~}} --}}
{{~#if (and (eq .. @root.page.component) (eq this @root.page.componentVersion))}} is-current{{/if~}} {{~#if (and (eq .. @root.page.component) (eq this @root.page.componentVersion))}} is-current{{/if~}}
{{~#if ./missing}} is-missing{{/if}}" href="{{{relativize ./url}}}">v{{./displayVersion}}</a> {{~#if (eq this ../latest)}} is-latest{{/if}}" href="{{{relativize ./url}}}">v{{this.displayVersion}}</a>
{{/each}} {{/each}}
</div> </div>
{{/with}} {{/each}}
{{!-- {{/with}} --}}
</div> </div>
{{/if}} {{/if}}
{{!-- {{/with}} --}} {{!-- {{/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