Skip to content

Commit

Permalink
Merge pull request #34 from Daandelange/page-method-is-indexed
Browse files Browse the repository at this point in the history
Improve pagemethod.isIndexed
  • Loading branch information
fabianmichael authored Feb 5, 2023
2 parents 9002f5a + 4b0ec62 commit 12976a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/site-methods.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
}
},
'indexedPages' => function () {
return kirby()->site()->index()->filterBy('isIndexible', '==', true);
return $this->index()->filterBy('isIndexible', '==', true);
},
];

0 comments on commit 12976a0

Please sign in to comment.