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:
23df8ec
)
remove is-current from last breadcrumb as it currently breaks the search
author
Dan Allen
<dan@opendevise.com>
Mon, 9 Apr 2018 10:08:07 +0000
(
04:08
-0600)
committer
Dan Allen
<dan@opendevise.com>
Mon, 9 Apr 2018 10:08:07 +0000
(
04:08
-0600)
src/partials/breadcrumbs.hbs
patch
|
blob
|
history
diff --git
a/src/partials/breadcrumbs.hbs
b/src/partials/breadcrumbs.hbs
index
3f939cf
..
a860d34
100644
(file)
--- a/
src/partials/breadcrumbs.hbs
+++ b/
src/partials/breadcrumbs.hbs
@@
-7,7
+7,7
@@
{{/if}}
{{/with}}
{{#each page.breadcrumbs}}
- <li class="crumb
{{#if (eq @root.page.url ./url)}} is-current{{/if}}
">
+ <li class="crumb">
{{~#if (and ./url (eq ./urlType 'internal'))~}}
<a href="{{{relativize @root.page.url ./url}}}">{{{./content}}}</a>
{{~else~}}