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:
bafd311
)
remove irrelevant condition in breadcrumbs partial
author
Dan Allen
<dan@opendevise.com>
Thu, 19 Nov 2020 22:43:21 +0000
(15:43 -0700)
committer
Dan Allen
<dan@opendevise.com>
Thu, 19 Nov 2020 22:43:21 +0000
(15:43 -0700)
src/partials/breadcrumbs.hbs
patch
|
blob
|
history
diff --git
a/src/partials/breadcrumbs.hbs
b/src/partials/breadcrumbs.hbs
index
6ab2921
..
95ef907
100644
(file)
--- a/
src/partials/breadcrumbs.hbs
+++ b/
src/partials/breadcrumbs.hbs
@@
-2,7
+2,7
@@
{{#if page.breadcrumbs}}
<ul>
{{#with page.componentVersion}}
- {{#if (and ./title (not (
or ./root (eq ./title @root.page.breadcrumbs.0.content)
)))}}
+ {{#if (and ./title (not (
eq ./title @root.page.breadcrumbs.0.content
)))}}
<li><a href="{{{relativize ./url}}}">{{{./title}}}</a></li>
{{/if}}
{{/with}}