intendedTemplate instead of template
bnomei opened this issue · 0 comments
bnomei commented
consider using intendedTemplate()
to check template instead of template()
.
https://github.com/k-next/kirby/blob/f2a908286feec5a750919c4032f2cc207063910c/src/Cms/Page.php#L479