add front-comments

This commit is contained in:
isUnknown 2024-09-10 17:14:38 +02:00
parent c3ea78cab5
commit c9f4af7e58
53 changed files with 2921 additions and 1 deletions

View file

@ -0,0 +1,14 @@
<?php
Kirby::plugin('adrienpayet/front-comments', [
'options' => [
'cache' => true,
],
'hooks' => [
'page.update:after' => function ($newPage) {
kirby()
->cache('adrienpayet.front-comments')
->set('foo', 'bar');
}
]
]);