Skip to content

Commit 12976a0

Browse files
Merge pull request #34 from Daandelange/page-method-is-indexed
Improve pagemethod.isIndexed
2 parents 9002f5a + 4b0ec62 commit 12976a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/site-methods.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
}
1919
},
2020
'indexedPages' => function () {
21-
return kirby()->site()->index()->filterBy('isIndexible', '==', true);
21+
return $this->index()->filterBy('isIndexible', '==', true);
2222
},
2323
];

0 commit comments

Comments
 (0)