projects
/
eg-antora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d39b7fe
)
use .. instead of ../this in template
author
Dan Allen
<dan@opendevise.com>
Sat, 4 Apr 2020 09:15:15 +0000
(
03:15
-0600)
committer
Dan Allen
<dan@opendevise.com>
Sat, 4 Apr 2020 09:15:15 +0000
(
03:15
-0600)
src/partials/nav-explore.hbs
patch
|
blob
|
history
diff --git
a/src/partials/nav-explore.hbs
b/src/partials/nav-explore.hbs
index
f4b560c
..
8bab9dd
100644
(file)
--- a/
src/partials/nav-explore.hbs
+++ b/
src/partials/nav-explore.hbs
@@
-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>