remove irrelevant condition in breadcrumbs partial
authorDan Allen <dan@opendevise.com>
Thu, 19 Nov 2020 22:43:21 +0000 (15:43 -0700)
committerDan Allen <dan@opendevise.com>
Thu, 19 Nov 2020 22:43:21 +0000 (15:43 -0700)
src/partials/breadcrumbs.hbs

index 6ab2921..95ef907 100644 (file)
@@ -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}}