use .. instead of ../this in template
authorDan Allen <dan@opendevise.com>
Sat, 4 Apr 2020 09:15:15 +0000 (03:15 -0600)
committerDan Allen <dan@opendevise.com>
Sat, 4 Apr 2020 09:15:15 +0000 (03:15 -0600)
src/partials/nav-explore.hbs

index f4b560c..8bab9dd 100644 (file)
@@ -12,7 +12,7 @@
       <ul class="versions">
         {{#each ./versions}}
         <li class="version
-          {{~#if (and (eq ../this @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 (eq this ../latestVersion)}} is-latest{{/if}}">
           <a href="{{{relativize ./url}}}">{{./displayVersion}}</a>
         </li>