From 4b0ec62aaa189257a8d0e22441c4f4156bbe915a Mon Sep 17 00:00:00 2001 From: Daan Date: Sun, 5 Feb 2023 15:57:03 +0100 Subject: [PATCH] Forgot to change site() to $this --- config/site-methods.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/site-methods.php b/config/site-methods.php index 11fb98d..4366295 100644 --- a/config/site-methods.php +++ b/config/site-methods.php @@ -18,6 +18,6 @@ } }, 'indexedPages' => function () { - return kirby()->site()->index()->filterBy('isIndexible', '==', true); + return $this->index()->filterBy('isIndexible', '==', true); }, ];