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

rollback

parent 92782022
Pipeline #20983 passed with stages
in 4 minutes and 32 seconds
<div class="nav-container"{{#if page.component}} data-component="{{page.component.name}}" data-version="{{page.version}}"{{/if}}> <div class="nav-container"{{#if page.component}} data-component="{{page.component.name}}" data-version="{{page.version}}"{{/if}}>
<aside class="nav"> <aside class="nav">
<div class="panels"> <div class="panels">
{{> page-versions}} {{!-- {{> page-versions}} --}}
{{> nav-menu}} {{> nav-menu}}
{{> nav-explore}} {{> nav-explore}}
</div> </div>
......
{{!-- {{#if page.component}} {{!-- {{#with page.versions}} --}}
{{#if page.component}}
<div class="page-versions"> <div class="page-versions">
<div class="backdrop"></div> <div class="backdrop"></div>
<h2 class="title"><a href="{{{relativize ./url}}}">{{page.component.title}}</a></h2> <h2 class="title"><a href="{{{relativize ./url}}}">{{page.component.title}}</a></h2>
...@@ -9,6 +10,7 @@ ...@@ -9,6 +10,7 @@
</button> </button>
{{#with site.components.[0]}} {{#with site.components.[0]}}
{{#if (or ./versions.[1] ./versions.[0].version (ne ./versions.[0].displayVersion 'default'))}} {{#if (or ./versions.[1] ./versions.[0].version (ne ./versions.[0].displayVersion 'default'))}}
<div class="version-menu"> <div class="version-menu">
{{#each ./versions}} {{#each ./versions}}
<a class="version <a class="version
...@@ -18,19 +20,7 @@ ...@@ -18,19 +20,7 @@
</a> </a>
{{/each}} {{/each}}
</div> </div>
{{/if}}
{{/with}} {{/with}}
</div> </div>
{{/if}} --}} {{/if}}
{{!-- {{#with page.versions}} --}}
<div class="page-versions">
<button class="version-menu-toggle" title="Show other versions of page">{{@root.page.componentVersion.displayVersion}}</button>
<div class="version-menu">
{{#each this}}
<a class="version
{{~#if (eq ./version @root.page.version)}} is-current{{/if~}}
{{~#if ./missing}} is-missing{{/if}}" href="{{{relativize ./url}}}">{{./displayVersion}}</a>
{{/each}}
</div>
</div>
{{!-- {{/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