diff --git a/src/Tags/Structure.php b/src/Tags/Structure.php index c3b4ab01b5..05f36a0592 100644 --- a/src/Tags/Structure.php +++ b/src/Tags/Structure.php @@ -65,7 +65,7 @@ public function toArray($tree, $parent = null, $depth = 1) 'is_current' => rtrim(URL::getCurrent(), '/') == rtrim($page->url(), '/'), 'is_parent' => Site::current()->url() === $page->url() ? false : URL::isAncestorOf(URL::getCurrent(), $page->url()), 'is_external' => URL::isExternal($page->absoluteUrl()), - ]); + ], $this->context->all()); })->filter()->values()->all(); } }